Thursday, January 24, 2013

Frequency range setting for bode plots

I cleared most of the original post to unclutter the blog...  a summary:
1) re: original post -- I had bad state equations, but got no errors and had a very limited frequency range for a bode plot with no apparent data.  ...should have kept trouble-shooting before posting.
2) If you want to explicitly control the bode plot frequency range, the reply below has an example of one way to do that.
3) I'm still curious if anyone knows how Matlab/simulink determines the frequency range for our ac analyses.  (But it's not an urgent question.)
4) Many thanks to Dr. Maksimovic for extending the HW deadline and to whoever asked for the extension!

2 comments:

  1. I found the following will work:
    ltiview('bode',ssm,{10*2*pi,1e6*2*pi})
    Last 2 args are radian freq.
    Still don't know how the freq range was set for our class examples.

    ReplyDelete
  2. I think you are asking how to change the freq range in LTI Viewer.
    There are two way:
    1) In the Matlab main window, type 'ctrlprefat' at the command prompt enter. You will find the place to change your range.
    2) After the window of LTI Viewer opened, click Edit -> Viewer Preferences, you will find the same window and menu as the first method.
    I hope this will help you.

    ReplyDelete

Note: Only a member of this blog may post a comment.