MATLAB: How to convert rad/sn to Hz in transfer function

MATLABtransfer function

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 🙂

Best Answer

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);