Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Matlab help Show matlab scripts and plots for parts a,b, c Thanks num = [1]; den=[1 4 20]; sys=tf(num,den); % 1/(s^2 + 4s + 20)

Matlab help
Show matlab scripts and plots for parts a,b, c
Thanks
image text in transcribed
image text in transcribed

num = [1];

den=[1 4 20];

sys=tf(num,den); % 1/(s^2 + 4s + 20)

step(sys) %very powerful and easy to use

pause

impulse(sys) % also powerful and easy to use

pause

t = 0:0.1:20; % vector of time samples

u = 3*sin(t); % the INPUT valuse

lsim(sys,u,t) %plot the response and the input

pause

y=lsim(sys,u,t);

plot(t,y);

3. Modify tf_demo.m to do the following: a) Use the tf() function to define a system variable for: x+++=4x6x8xft() Use the step() function to plot the response of the system for ft()=ut() (a unit step)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Icdt 88 2nd International Conference On Database Theory Bruges Belgium August 31 September 2 1988 Proceedings Lncs 326

Authors: Marc Gyssens ,Jan Paredaens ,Dirk Van Gucht

1st Edition

3540501711, 978-3540501718

More Books

Students also viewed these Databases questions