10 points QUESTION 273 Use MATLAB to carry out the following

[10 points] QUESTION 2.73 Use MATLAB to carry out the following multiplication of polynomials x(x-1.7)(x+0.5)(x -0.7) (x 1.5) QUESTION 2.74 USING MAT LAB CODE The reciprocal Fibonacci constant v is defined by the infinite sum: where F. are the Fibonacci numbers 1, 1, 2, 3, 5, 8, 13, Each element in this sequence of numbers is the sum of the previous two. Start by setting the first two elements equal to 1, then F F -1 F Write a MATLAB pro- gram in a script file that calculates y for a given n. Execute the program for n 10, 50, and 100

Solution

p1=[1 0];

p2=[1 -1.7];

p3=[1 0.5];

p4=[1 -0.7];

p5=[1 1.5];

p=conv(conv(p1,p2),conv(p3,p4));

matlab output:

p=1.0000 -0.4000 -2.8600 0.5800 0.8925 0

 [10 points] QUESTION 2.73 Use MATLAB to carry out the following multiplication of polynomials x(x-1.7)(x+0.5)(x -0.7) (x 1.5) QUESTION 2.74 USING MAT LAB CODE

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site