Question

Use matlab backslash operator to output the solution of system of equation. Print the unknowns in...

Use matlab backslash operator to output the solution of system of equation.

Print the unknowns in console.

Equations are

20*n+8*z+13*m=9,

2*n+17*z+16*m=10,

11*n+19*z+16*m=7,

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Aer=[20,8,13;2,17,16;11,19,16];

ber=[9;10;7];

xer=Aer\ber;

fprintf('n=%f\n',xer(1))

fprintf('z=%f\n',xer(2))

fprintf('m=%f\n',xer(3))

% OUTPUT

n=-0.176140

z=-0.707368

m=1.398596

Add a comment
Answer #2

Matlab command window code

============================================================================================

A=[20,8,13;2,17,16;11,19,16]

b=[9;10;7]

x=A\b

============================================================================================

Output

Add a comment
Know the answer?
Add Answer to:
Use matlab backslash operator to output the solution of system of equation. Print the unknowns in...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT