i view transfer functions with bode(tf(...)). That works well.
The default setting of the y-axis of the magnitude plot is dB but i always use abs. So i have to change it every time using the UI Context menu.
Is there a possibility to do the setting within the command bode? Is there an additional command to change it from the command line?
kind regards
andre
%Try this one:
h=bodeplot(tf(your_system));
a=getoptions(h); a.MagUnits='abs';
setoptions(h,a);
%Mohammad
I am using Matlab 7. It does not have a bodeplot object. In another PC using Matlab 7 which had the dB units as default suddenly the abs units appeared somehow but no one knows how it changed. There the bode plots appear with abs units as default so there is no need to change properties. This is what I would like to configure in the PC I am using now.
Could you help me?
Thank you in advance.
Rigel.
"MohammadSadegh " <loops...@gmail.com> wrote in message
I played around it and this is what I found. Go to the Control System Toolbox Preferences by using your toolbox manager or type ctrlpref in your command. Save it and you should have your problem resolved.
Mohammad
"Celso Montalvo" <Rig...@gmail.com> wrote in message <hg0trq$bir$1...@fred.mathworks.com>...
I followed your procedure and it worked correctly. Now I am happy!
Thank You Very Much!!
Rigel.
"MohammadSadegh " <loops...@gmail.com> wrote in message <hg1vhp$ggq$1...@fred.mathworks.com>...