photo

Wil


Con actividad desde 2012

Followers: 0   Following: 0

Mensaje

Hi,
I am newbie to matlab! Been having problem withis this fuction.
function[]=SRC()
clc;clear
display('Provide the values of Qs and ranges of normalised frequency fn')
Qs= input('Please enter the value of Qe: ' );

fn=-10:0.5:10;
ga=(1/(1+Qs^2*(fn-1/fn)));
figure(1)
plot(fn,ga);title('SRC DC characterictics');xlabel('Normalised frequency');ylabel('Gain')

end
Thanks for your help

Please login to endorse this person in a skill

No Endorsements received
MATLAB Graphic