Homework Task #4 from the P4 sample code • The system in problem 9.40 of the textbook has input-output relation y""(t) +

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Homework Task #4 from the P4 sample code • The system in problem 9.40 of the textbook has input-output relation y""(t) +

Post by answerhappygod »

Homework Task 4 From The P4 Sample Code The System In Problem 9 40 Of The Textbook Has Input Output Relation Y T 1
Homework Task 4 From The P4 Sample Code The System In Problem 9 40 Of The Textbook Has Input Output Relation Y T 1 (57.96 KiB) Viewed 33 times
Homework Task 4 From The P4 Sample Code The System In Problem 9 40 Of The Textbook Has Input Output Relation Y T 2
Homework Task 4 From The P4 Sample Code The System In Problem 9 40 Of The Textbook Has Input Output Relation Y T 2 (80.73 KiB) Viewed 33 times
Homework Task #4 from the P4 sample code • The system in problem 9.40 of the textbook has input-output relation y""(t) + 6y"(t) + 11y' (t) + 6y(t) = x(t) Assume that this system is causal and use the Laplace transform to find the transfer function H(s) by hand. Write Matlab code similar to P4 to do the following: 1) use tf to compute a transfer function system model H1 2) use zpk to convert the transfer function system model to a zero-pole-gain system model H2; 3) use pzmap to produce a pole-zero plot; 4) use pole to find the poles; 5) use isstable to determine if the system is stable; 6) use residue to compute a partial fraction expansion and find the impulse response h(t). Hint: because the system is causal, the ROC must be the right half-plane to the right of the rightmost pole.
clear close all clear; z = [-1 2]; % zeros (roots of numerator) P = [-2 -3 1]; % poles (roots of denominator) 8 = 2; % transfer function gain H1 = zpk (z,p,g) % zero-pole-gain system model H2 = tf(H1) % convert to transfer function [numer,denom] = tfdata (H1, 'v') [numer, denom] = tfdata (H2, 'v') H3= tf(numer, denom) % H3 is the same as H1 H4 = zpk (H3) % H4 is the same as H1 printsys (numer, denom) P = pole (H1) P= pole (H2) % same result as the line above Z = zero (H1) Z = zero (H2) % same result as the line above [p z]= pzmap (H1) [p z]= pzmap (H2) % same result as the line above figure (1); pzmap (H1); figure (2); pzmap (H2); figure (3); pzmap (numer, denom); isstable (H1) [r p k] = residue (numer, denom)| whos
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply