I was doing the TransferFunctionModel
and BodePlot
. But the result from Mathematica and MATLAB are different.
The function is as follows:
Bi = TransferFunctionModel[(1 + 3*I*ω)/(1 + 1.5*I*ω), ω];
BodePlot[Bi, GridLines -> Automatic, ImageSize -> 400,
FrameLabel -> {{{"Magnitude (db)", None}, {None,
"Frequency Transfer Function Inside"}}, {{"Phase(deg)",
None}, {"Frequency (rad/sec)", None}}},
ScalingFunctions -> {{"Log10", "dB"}, {"Log10", "Degree"}},
PlotRange -> {{{0, 100}, Automatic}, {{0, 100}, {0, 20}}},
PlotStyle -> {Red, Thick}];
BodePlot
,you'll get the same. $\endgroup$