>> f=10:1:100000; % f is the frequency varying from 10 to 100000 in steps of 1hz
>> G=2483.71*(2pi*f*10)(2pi*f*100)*1018/(60.7*2pi*f*100)*10-9+1)(6.07*2pi*f*10*10-9+1);>> faxis=0.000001*f;>> plot(f axis,f,'w',f,G,'r')xlabel('Frequency, rad/s'), ylabel('Gain, V/V')title('Frequency Response Plots')subplot(2,1,2), semilogx(w, phase)xlabel('Frequency, rad/s'), ylabel('Phase, deg')>> xlabel ('Frequency in Hz')>> ylabel ('Voltage in volts')>> text (6,6,'G(f)') G=2483.71*(2pi*f*10)(2pi*f*100)*1018/(60.7*2pi*f*100)*10-9+1)(6.07*2pi*f*10*10-9+1); |Error: Unexpected MATLAB expression.
Hey everyone, how are you? I have this code that WAS working not too long ago but when I come to simulate it, it doesn't wanna work and it spits out this error message. This is for a Bode plot Midband voltage amplifier circuit. I have checked my work and everything and it was working before but I don't see what I changed in it. Anyone have any ideas? Thank you 🙂
Best Answer