Question

10 9:17 X ull ** - STC Report Lab - للقراءة فقط (1) 28 Hoď → 7 سجل دخولك لتحرير الملف وحفظ التغييرات ا... Problems Problem 1:

ص ۹ : ۳۲ ال 4 ۷۹٪ لا +ه STC سجل دخولك لتحرير الملف وحفظ التغييرات ا... 7 Problem 5: Solve the following set of equations usin

10 9: 1 9 . * - STC Report Lab 2B - للقراءة فقط 7 سجل دخولك لتحرير الملف وحفظ التغييرات ا... Lab #2B Introduction to MATLAB P

solve these questions by Matlab

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

(1)Command Window >> pl = [1 2 -3 7 -8 7]; >> polyval (p1,2) ans = 59 >> p2 = (1 3 -5 9 11]; >> polyval (p2,2) ans = 49 >> p3 =

(2)

>> A = [3 2*pi; 5*j 10+sqrt(2)*j];
>> B = [7*j -15*j; 2*pi 18];
>> A+B

ans =

3.0000 + 7.0000i 6.2832 -15.0000i
6.2832 + 5.0000i 28.0000 + 1.4142i

>> A*B

ans =

1.0e+02 *

0.3948 + 0.2100i 1.1310 - 0.4500i
0.2783 + 0.0889i 2.5500 + 0.2546i

>> A^2

ans =

9.0000 +31.4159i 81.6814 + 8.8858i
-7.0711 +65.0000i 98.0000 +59.7002i

>> A'

ans =

3.0000 + 0.0000i 0.0000 - 5.0000i
6.2832 + 0.0000i 10.0000 - 1.4142i

>> B^-1

ans =

0.0000 - 0.0817i 0.0681 + 0.0000i
0.0000 + 0.0285i 0.0318 + 0.0000i

>> B'*A'

ans =

1.0e+02 *

0.3948 - 0.2100i 0.2783 - 0.0889i
1.1310 + 0.4500i 2.5500 - 0.2546i

>> A^2 + B^2 - A*B

ans =

1.0e+02 *

-0.7948 - 0.8383i 0.7358 - 2.1611i
0.7819 + 1.0010i 1.6700 - 0.6000i

>>

(3)

Command Window >> A = [0.5 -0.8; 0.75 1.0]; >> [V, D] = eig(A); >> Colum of V represents each eigenvectors >> digonal elementCommand Window >> A = [8 3; -34); >> [V, D] = eig(A); >> Colum of V represents each eigenvectors >> digonal elements of D rep

(4)

Command Window >> A = [5 5 -3; -1 2 3; 2 5 7]; >> [V, D] = eig(A); >> $ Eigen values >> EigValues = diag (D) EigValues = 2.53Command Window >> B = [1 2 3; 89 6; 5 3 -1]; >> [V, D] = eig (B); >> $ Eigen values >> EigValues = diag (D) EigValues = 12.81

(5)

Command Window >> A = [1 2 3 5; -2 5 7-9; 5 >> B = [21; 17; 23; 26]; >> X = AB 7 2 -5; -1 -3 -7 7]; x = -8.0756 12.8353 -4.61

Add a comment
Know the answer?
Add Answer to:
solve these questions by Matlab 10 9:17 X ull ** - STC Report Lab - للقراءة...
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