Question

Can I please have help with the following Scilab

5. Use Scilab to create following rational expression matrix: 1+x 1 +2x - x2 x 1+x1+x 1-X 1+x+3x3 5x +x3 217 1 2x 1- 1 +3x +x

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

Answer

x = poly(0,'x');                   //seed for defining polynomials with symbol x
simp_mode(%f);                       //turn off the simplification mode

r11 = (1 + x) / (1 - x^2);           //first element of first row
r12 = (1 + 2*x -x^2) / (1 + x);       //second element of first row
r13 = x / (1 + x^2);               //third element of first row

r21 = 1 + x + 3*x^3;               //first element of second row
r22 = (3 - x) / (2 + x^2);           //second element of second row
r23 = 5*x + x^3;                   //third element of second row

r31 = (1 + 2*x) / x;                   //first element of third row
r32 = (1 - x^3) /(1 + 3*x +x^2);       //second element of third row
r33 = 6 / (1 - x + x^2);               //third element of third row

m = [r11,r12,r13;r21,r22,r23;r31,r32,r33]   //create the 3x3 matrix

Scilab code: Result 1 x - poly(, x) 2 simp_mode(f); //seed for defining polynomials with symbol x //turn off the simplificati

Add a comment
Know the answer?
Add Answer to:
Can I please have help with the following Scilab 5. Use Scilab to create following rational expression matrix: 1+x 1 +2...
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