MATLAB: How to make a bode plot from a transfer function

bode plotMATLAB

Hi how would I make a blode plot from this transfer function?
Gp(s) = (10e^-0.25S)/((1+1.2S)(1+3.5S))
is this the correct code in Matlab?

Best Answer

Yes.
The code you posted:
s = tf('s');
g = 10*exp(-0.25*s)/((1+1.2*s)*(1+3.5*s))
figure
bode(g)
grid
should work.
Are you having problems with it?