Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'BodePlot using Hertz instead of radians/sec' topicStudent Support Forum > General > "BodePlot using Hertz instead of radians/sec"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
yehuda
06/09/12 05:27am

Well, first what you is convert form Hz into rad/sec and not as you posted
secondly, Just copying the example from the documentation center without looking into the details is not sufficient in this case
The examples maps between -1Hz to 1 Hz in steps of 1/3, while your plot is from 10Hz to 1MHz, so the range of the ticks you provide is not covered in the plot range. Even if it would, it would be impractical for such a bandwidth
Change the frequency ticks to (I'll site it clumsily to show you where your error is)
freqLowPower = 1;
freqHighPower = 6;
freqPowerStep = 1;

frequencyTicks =
N[Map[{#, #/(2 Pi)} &,
10^Range[freqLowPower, freqHighPower, freqPowerStep]], 1]

yehdua

URL: ,

Subject (listing for 'BodePlot using Hertz instead of radians/sec')
Author Date Posted
BodePlot using Hertz instead of radians/sec Ed Nowak 06/08/12 02:45am
Re: BodePlot using Hertz instead of radians/sec Bill Simpson 06/08/12 2:28pm
Re: Re: BodePlot using Hertz instead of radians... Ed Nowak 06/11/12 03:24am
Re: BodePlot using Hertz instead of radians/sec yehuda 06/09/12 05:27am
Re: Re: BodePlot using Hertz instead of radians... Ed Nowak 06/11/12 03:45am
Re: BodePlot using Hertz instead of radians/sec Bill Simpson 06/09/12 11:25am
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic