How to make semilogx to get a plot gain against log frequency with several values? [beginner]
I usually don't do homework for people

clc
clear all
close all
%%
freqs=[   2    10    20   60 100 125  150  200  300 400];
Vo=[.15e-7 .1e-3 .002 .2  1.5 3.28 4.47 4.97 4.99 5];
G=[ -156.48  -80  -53.98  -13.98  3.52  10.32  13  13.93  13.96  13.98];
%%
% G=20*log10(Vo/Vin)  -&gt; G/20=log10(Vo/Vin) -&gt; 10.^(G/20)=(Vo/Vin)  -&gt;
% Vin=Vo.*10.^(-(G/20))
Vin=Vo.*10.^(-(G/20));


semilogx(freqs,Vin,'x',freqs,Vo,'o')
legend('V_{in}','V_{out}')
xlabel('frequency in Hz')
ylabel('Volts RMS')