0% found this document useful (0 votes)
5 views3 pages

wxMaxima Matrix Operations Guide

The document contains a series of matrix operations performed using wxMaxima, including matrix multiplication, row operations, determinant calculation, and matrix inversion. It demonstrates the manipulation of matrices m1, m2, and m, showcasing operations like row swapping and adding rows and columns. The final output includes a submatrix extracted from the modified matrix m.

Uploaded by

Mayank Aggarwal
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views3 pages

wxMaxima Matrix Operations Guide

The document contains a series of matrix operations performed using wxMaxima, including matrix multiplication, row operations, determinant calculation, and matrix inversion. It demonstrates the manipulation of matrices m1, m2, and m, showcasing operations like row swapping and adding rows and columns. The final output includes a submatrix extracted from the modified matrix m.

Uploaded by

Mayank Aggarwal
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

wxMaxima document 1 / 3

MfC LabWork (8-Aug-2025)


Namita Aggarwal (256772) I-B
m1:matrix(
[2,23,0],
[10,10,−2],
[0,34,2]

);
2 23 0

10 10 − 2

0 34 2

m2: matrix(
[1,1,2],
[0,−1,0],
[3,0,10]
);
1 1 2

0 −1 0

3 0 10

m3:m1.m2;
2 − 21 4

4 0 0

6 − 34 20

x:3+3;
6
m:matrix([1,2,1],[1,1,1],[3,2,1]);
1 2 1

1 1 1

3 2 1

m3:rowswap(m,1,3);
wxMaxima document 2 / 3

1 2 1

1 1 1

3 2 1

m;
1 2 1

1 1 1

3 2 1

R2=R2-R1, R3=R3-3*R1
m:rowop(m,2,1,1);
1 2 1

0 −1 0

3 2 1

m:rowop(m,3,1,3);
1 2 1

0 −1 0

0 −4 −2

m;
1 2 1

0 −1 0

0 −4 −2

d:determinant(m);
2
i:invert(m);

1
1 0
2

0 −1 0

1
0 2 −
2

m;
wxMaxima document 3 / 3

1 2 1 3

0 −1 0 0

0 −4 −2 1

11 0 1 −2

transpose(m);
1 0 0 11

2 −1 −4 0

1 0 −2 1

3 0 1 −2

m;
1 2 1

0 −1 0

0 −4 −2

m:addcol(m,[3,0,1]);
1 2 1 3

0 −1 0 0

0 −4 −2 1

m:addrow(m,[11,0,1,−2]);
1 2 1 3

0 −1 0 0

0 −4 −2 1

11 0 1 −2

m2:submatrix(2,4,m,3,1);
2 3

−4 1

You might also like