Question

7. Using Matlabs sim command, simulate the sinusoidal response of 2s + 125 53 +992 + 45s + 125 (S) for 0 st < 10 seconds w

0 0
Add a comment Improve this question Transcribed image text
Answer #1

summary:In matlab 'lsim' in-buit-command is used to plot any type of input for given transfer function the code of matlab and its plot for given input as follow

1)matlab code

clear;clc;
%define system transfer function Y(s)/U(s)
%and input signal for given time interval
sys=tf([2 125],[1 9 45 125]); %system transfer function
t=0:0.001:10;%time interval for plot y(t)
u=3*sin(3.*t);%input signal for sinusoidal system response
lsim(sys,u,t);%system sinusoidal response
title('sinusoidal response of sys=(2s+125)/(s^3+9s^2+45s+125)');

2)matlab result

sinusoidal response of sys=(25+125)/(s®+9s2+45s+125) Amplitude NE 10 Time (seconds)

Add a comment
Know the answer?
Add Answer to:
7. Using Matlab's "sim" command, simulate the sinusoidal response of 2s + 125 53 +992 +...
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
  • in c++ thankyou. 1. Using C++, write a program to simulate a cooking) stove. This stove...

    in c++ thankyou. 1. Using C++, write a program to simulate a cooking) stove. This stove is represented as a class named stove that has the properties: • A state, either normal or cleaning. Number O SPs4 of elements being used (by pots and pans). 4 element states, either on or off. This stove has the interface: • A constructor to set a stove (state) to normal and the element (states) to off. A (overloaded) constructor to set a stove...

  • STA2221 examples on CI & Testing of Hypothesis Name MULTIPLE CHOICE. Choose the one alternative that...

    STA2221 examples on CI & Testing of Hypothesis Name MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answer the question Provide an appropriate response. 1) Find the critical value,te for 0.99 and n-10. A) 3.250 B) 3.169 1.833 D) 2.262 2) Find the critical value to forc=0.95 and n=16. A) 2.947 B) 2.602 2120 D) 2.131 3) Find the value of E, the margin of error, for A) 1.69 B) 0.42 0.99, n=16 and s=2.6. C)...

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
ADVERTISEMENT