Question: 4. (20 pts) Develop a Matlab script file that prompts the user for the vector of coefficients for the yin - il terms in a

4.4. (20 pts) Develop a Matlab script file that prompts the user
for the vector of coefficients for the yin - il terms in

(20 pts) Develop a Matlab script file that prompts the user for the vector of coefficients for the yin - il terms in a difference equation written in descending order (i.e., for i = 0,1,2,...), and then displays to the Command Window the numerical value of all system poles with an indication as to whether or not the system is BIBO stable. The code must work for any input vector without requiring any modifications. When displaying all poles to the Command Window (disp or fprintf), use appropriate text (e.g., Pole # i is w. where i is the pole number and w is the pole value). Note the roots command is used to determine the roots of a polynomial. The test for BIBO stability can be done on a term-by-term basis for the vector of poles by using afor loop and embedded if statement or for the entire vector by using an if statement that uses an any or all test depending on the approach taken. Recall that BIBO stability requires that all the system poles have a magnitude (abs) less than 1. Test your code and present the results for the test cases shown below. 1. y[n] +0.3yin - 1) - 0.15yn - 2] +0.075yn - 3] -0.1y[n - 4) = u[n]; 2. y[n] - 2.1yn - 1] + 1.8y[n - 2] -0.5y[n - 3) = sin(n+t/4); and, 3. y[n] +1.45y[n - 1] -0.23y[n - 2] -0.6y[n - 3) = (1.1)". [20 pts) Develop a Matlab script file that prompts the user for the vector of coefficients for the yin - il terms in a difference equation written in descending order (i.e., for i = 0,1,2,...), and then displays to the Command Window the numerical value of all system poles with an indication as to whether or not the system is BIBO stable. The code must work for any input vector without requiring any modifications. When displaying all poles to the Command Window (disp or fprintf), use appropriate text (e.g., Pole # i is w. where i is the pole number and w is the pole value). Note the roots command is used to determine the roots of a polynomial. The test for BIBO stability can be done on a term-by-term basis for the vector of poles by using afor loop and embedded if statement or for the entire vector by using an if statement that uses an any or all test depending on the approach taken. Recall that BIBO stability requires that all the system poles have a magnitude (abs) less than 1. Test your code and present the results for the test cases shown below. 1. y[n] +0.3yin - 1) - 0.15yn - 2] +0.075y - 3) - 0.1y[n - 4) = w[n]; 2. y(n) 2.1y n - 1] +1.8y(n - 2) - 0.5y(n 3) = sin(n7/4); and, 3. y(n] +1.45yn - 1) - 0.23y(n - 2) -0.6y(n - 3) = (1.1)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!