How to generate spectral plots in MatLab of transfer function hw = (0.15*s^3+937500*s)/(0.15*s^3+375*s^2+1062500*s+2500000000) over the range from 100 Hz...

80.2K

Verified Solution

Question

Electrical Engineering

How to generate spectral plots in MatLab of transferfunction

hw =(0.15*s^3+937500*s)/(0.15*s^3+375*s^2+1062500*s+2500000000)

over the range from 100 Hz to 10 kHz, using 200 points perdecade.

Answer & Explanation Solved by verified expert
4.3 Ratings (606 Votes)
You can use the logspace command for this purpose For example logspaceabn will generate n points which are logarithmically equally spaced between decades 10a rads and 10b rads If you want to store that in a vector say y then you will have to write ylogspaceabn Now for your given question 100 Hz corresponds to 628 rads 628 rads1028 rads So here a28 10 kHz    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students