How to convert rad/sn to Hz in transfer function?
10 views (last 30 days)
Show older comments
I tried to plot transfer function with that code, this code give rad/sec output for the frequency, but I want to obtain frequency in hz domain. In other words how can I get horizontal line of graphic as hz.
cj=sqrt(-1);
poles=[-0.02365+0.02365*cj;
-0.02365-0.02365*cj;
-393.001;
-7.4904;
-53.5979-21.7494*cj;
-53.5979+21.7494*cj];
zeros=[-5.03207;0;0;0];
k=1;
T=zpk(zeros,poles,k);
bode(T)
Thanks in advance :)
0 Comments
Accepted Answer
Gökçe Öter
on 1 Jun 2018
Edited: Gökçe Öter
on 1 Jun 2018
See the doc for bodeplot, or setoptions. You can try this one;
cj=sqrt(-1);
poles=[-0.02365+0.02365*cj;
-0.02365-0.02365*cj;
-393.001;
-7.4904;
-53.5979-21.7494*cj;
-53.5979+21.7494*cj];
zeros=[-5.03207;0;0;0];
k=1;
sys = zpk(zeros,poles,k);
h = bodeplot(sys);
p = getoptions(h);
p.FreqUnits = 'Hz';
setoptions(h,p);
More Answers (0)
See Also
Categories
Find more on Dynamic System Models in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!