Ask your own question, for FREE!
Mathematics 26 Online
OpenStudy (anonymous):

can any one help me with matlab?

OpenStudy (anonymous):

go on

OpenStudy (anonymous):

i want to solve system of eauations?

OpenStudy (anonymous):

if i understand correctly, put the equations into a matrix and then rref it

OpenStudy (anonymous):

i have system of equations like A1X1+B1X2=C1 form and A2X2+B2X2=C2 and I want to solve for x1 and x2 in matlab

OpenStudy (anonymous):

so create a matrix A=[a1 b1 ; a2 b2] create another matrix b = [c1;c2] and create another matrix d = [a b] rref(d)

OpenStudy (anonymous):

what is rref means can you just post me the code

OpenStudy (anonymous):

rref is a function that row echlon forms your matrix and i assumed you had numbers for a1 b1 c1 and a2 b2 c1

OpenStudy (anonymous):

ya

OpenStudy (anonymous):

this is what you type into matlab a= [a1 b1;a2 b2] b=[c1;c2] d=[a b] rref(d) and then you have your answers x1 corresponds to whatever is in the first row and x2 the second row

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!