Is it possible to plot an asymptotic bode plot. I am interested in verifying my straight line bode plot approximations done by hand by using mathematica but the bodeplot function generates the curved response.

  • $\begingroup$ Please provide the Mathematica code you used. $\endgroup$
    – bbgodfrey
    Oct 23 at 21:48
  • $\begingroup$ I am legit asking for a code or a way to get it done. I do not have a code, if I had a code I wouldn’t be asking $\endgroup$ Oct 23 at 21:53
  • 1
    $\begingroup$ Please post your code about the functions or equations or data which you want to plot. $\endgroup$
    – cvgmt
    Oct 24 at 0:01
  • 1
    $\begingroup$ Does this answer your question? How can I draw an asymptotic bode plot? $\endgroup$ Oct 25 at 0:05

I'm assuming that you have expressions for your straight line approximations since you have done these by hand. To incorporate them into the BodePlot, include those solutions in the list of functions to be plotted:

BodePlot[{1/(1 + \[ImaginaryJ] w/2), 1, 1/(\[ImaginaryJ] w/2)}, {w, 
  0.0005, 100}, ImageSize -> 400]

enter image description here

If you do not have the asymptotes calculated manually, it may be possible to use Asymptotic to figure them out. I am not convinced that this solution is robust, but it reproduces the above solution.

tf = 1/(1 + \[ImaginaryJ] w/2);
BodePlot[{tf, Asymptotic[tf, w -> 0], 
  Asymptotic[tf, w -> \[Infinity]]}, {w, 0.0005, 100}, 
 ImageSize -> 400]
  • $\begingroup$ If this is not what you are looking for, then we need additional information about your question such as links to example outputs - even if they are from other software packages. $\endgroup$ Oct 24 at 0:35

Not the answer you're looking for? Browse other questions tagged or ask your own question.