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
  • Please answer 1,2,3,4,5,6,7 by showing all of your work make sure all of the answers is...

    Please answer 1,2,3,4,5,6,7 by showing all of your work make sure all of the answers is fully correct. y-3 1. Solve fory: - 4 B) C) D)-16 4 4 2. Perform the operation: (9x + 2x -9) - (-5x- 3x + 9). A) 3x7 +5x B) 14x2 +5x - 18 C) 14x-x - 18 D) 3x+5x - 18 3. Multiply: (x' - 10) (x' + 10) B) x*- 100 A) x*+ 20x2 -100 C) x*-20 Dx4-20x2- 100 4. Multiply: (2x...

  • please answer ALL questions. thank you 1. Simplify: (5x + 3) - (4x + 1)(6 -...

    please answer ALL questions. thank you 1. Simplify: (5x + 3) - (4x + 1)(6 - x) (4 marks) Perform the indicated operation and simplify: -6V80 + 275- 8245 - 14 V108 2. (2√5 - 4√6) (3√3 + 8 √2) (8 marks) 3. Simplify, and state the restrictions on the variable x² - x-6x² - 2x+1 x2 - 4 x-1 8 9x +15x 3x + 5 (12 marks) Determine if the following expressions are equivalent. Justify your answer. 6x +...

  • Q.1 Using the method of Triangular Decomposition solve the set of equations. Xı - 2x2 +...

    Q.1 Using the method of Triangular Decomposition solve the set of equations. Xı - 2x2 + 3x3 - X4 = -3 3x1 + x2-3x3 +2x4 = 14 5xi +3x2+2x3 + 3x4 = 21 2x1 - 4x2 – 2x3 + 4x4 = -10 If Ax = 2x, determine the eigenvalues and corresponding eigenvectors of -3 0 6 4 10 - 8 A 4 5 3 B= 1 2 1 1 2 1 -1 2 3 Q.2

  • Student ID No. lill working. An swers only score no marks 1. Evaluate the 4th order...

    Student ID No. lill working. An swers only score no marks 1. Evaluate the 4th order determinant by any preferred m 3 2 -2 0 2 -2 1 3 2. Solve the system of linear equations by an appropriate m -x-3y + 4z =-7 2x-y = 9 3x+4y-z-9 x,-3x, +x, +2x, =4 (b) { 5x, + x2-5x3 + 4x4 = 10 2x, + 2x2-3x3 +x, = 3 (a) 3. The vertices of a triangle are A(2, 2,-3), B(1,5,1), C-

  • Please answer questions 51,52 & 53 And include all work. Thanks. 3-58, solve the system by...

    Please answer questions 51,52 & 53 And include all work. Thanks. 3-58, solve the system by using the elimination method. 33. 4x + 3y = 7 35. 3x-2y=1 ad 34. x 2y x+2y = 3 36, 2x-2y = 1 -2x tys3 38. y=2x-4 y=4-2x 40. 2x-5y = 7 2x + 2y = 5 42, 3x-4y = 7 - 3y3 3x y3 37, y = 3x + 5 y=5-3x 39. 3x+2y=10 41, 2x-3y = 5 3x-3y = 1 43, 3x+5y =...

  • Please solve it in MATLAB 6) Interpolation and plot: y=x*; x=0:5; a) Interpolate: x1= 1.5; x2=2.5;...

    Please solve it in MATLAB 6) Interpolation and plot: y=x*; x=0:5; a) Interpolate: x1= 1.5; x2=2.5; x3=3.5 b) Plot x and y and label axis. 7)- A= [1,2;3,4); B= [5,6;7,8] Using MATLAB find the following: A+B; A-B; AB, A/B, A-1,B-1, A.B, A./B 8). Using MATLAB: F(x) = y=x+- 2x2 + 3x – 4 a) find the roots of the polynomial f(x) b) find the integral of the polynomial f(x) c) find the SS(x)dx.

  • For the following system of linear equations, use MATLAB of solution or no solution exists. Accor...

    Use MATLAB to solve question 7 For the following system of linear equations, use MATLAB of solution or no solution exists. Accordingly, take the appropriate action. Explain your answers 1. to determine whether a unique solution, infinite numbe 3X1 + 4X2 + 2X3-X4 + χ5 + 7x6 + x,-42 2X1-2X2 + 3x3-4X4 + 5X5 + 2x6 + 8x7-32 x1 + 2x2 + 3x3 +x4 + 2x5 + 4x6 + 6x7 = 12 5x1 + 10x2 + 4x3 + 3x4 +9X5-2X5...

  • 9) Find ( 5x+3x+3x dx a) O 5x2 + x3 + x2 + c b) O...

    9) Find ( 5x+3x+3x dx a) O 5x2 + x3 + x2 + c b) O 5x3 + 2x2 + 3x + c c) O 5x3 + 2.x + 3x + с d) 0 5x + x² + x3 + c 8) Find the most general solution of the differential equation dx C49602 Weight: 1 = 6x2 - 7; given that y = 5, dy = 2, when x = dx o. a) y = PR + 2x + 5...

  • Please answer using MATHLAB. I need the code and the answer. Thanks, Use MATLAB or Scilab...

    Please answer using MATHLAB. I need the code and the answer. Thanks, Use MATLAB or Scilab to perform the following matrix operations 1) Find the determinant of ſi 7 -2 31 5 -1 9 13 2 51 31 4 6 18 -4 21 2) Find the inverse (A-2) of ſi 7 -2 3] 5 -1 9 13 2 51 314 6 18 -4 2' 3) Given the following set of linear equations X, + 2 x, – x3 + xy...

  • o need help with the questions starting with #5 Reciprocal Expressions IE find, as a function...

    o need help with the questions starting with #5 Reciprocal Expressions IE find, as a function of a, * +72-3.r+72+1 * +10:23 + 2x2 + 10.1 + 1 3.4 + 8.73 + x2 + 8x +3 1-523 + 8x2 - 53 +1 z" +"-1-22 +2+1 25 +224 + 3x3 + 3.+ 2x + 1 +5r4-203-22 + 5+1 25 +224 + 733 + 7x2 + 2x + 1 2,5 + 2 3.26 - 40 + + 5x3+ + 2x + 2...

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