I am trying to plot a function on a Log
scale, but am not getting the correct looking output. Any ideas on what could be wrong. MWE
is below:
F1=500 10^3;
F2=50 10^3;
k1=(2\[Pi] F1)/\[Omega]c;
k2=(2\[Pi] F2)/\[Omega]c;
\[Omega]c=Sqrt[Power[2.0, (3)^-1]-1.];
K=6.0;
Av=10^(K/20);
frequencies=Table[f,{f,-6000,4000000,1000}];
\[Omega]=2\[Pi] f;
s=I \[Omega];
sL = s/k1;
sH = s/k2;
TL=Abs[(1/(sL+1))^3];
TH=Abs[(sH/(sH+1))^3];
TB=(Av)(TL)(TH);
LogPlot[20Log[10,TB],{f,10,2 10^3},PlotRange:>{-20,10}]
Seen LogLogPlot
but not sure of the difference between the two.
LogLinearPlot
. Have you tried reading the documentation? Also, the $y$ values don't lie in thePlotRange
you've specified. $\endgroup$