Question

1. a) Use MATLAB or Excel to create a Bode plot of the transfer function G(S) +0.5 0.5 s 1.0. for 0.0 1 a) 100 b) Discretize the transfer function using a backwards difference (Euler) transformation. Write a routine in MATLAB or Excel to calculate the output of the transfer function given an input signal. Use your routine to calculate the outputs for the following sinusoidal inputs (1-sin ?): Case | .0 1.0s | a) (Step size for discretization 2 0.50.1 sec 3 5.00.01 sec Plot four cycles of input and output signals vs. time and calculate the magnitude (in dB) of the output to input ratio and the phase shift (in degrees) of the output relative to the input. Plot these results on the Bode plot from part a). Be sure to run enough cycles for the transient response to die out

I know how to do part a but i really need help with part B. Thanks

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

Command Window >> % NAME tf (num, den) > num 0.5 num 0. 5000 a l 2 b- 0.5 >NAME-tf (num, [a bl) NAME 0.5 s + 0. Continuous-tiFigure 1 File Edit View Insert Tools Desktop Window Help Bode Diagram 0 ︶-10 -30 d) -45 -90 2 10 10 Frequency (rad/is) tinuou

Add a comment
Know the answer?
Add Answer to:
I know how to do part a but i really need help with part B. Thanks...
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
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