vjfaisal
Full Member level 4
hi,
please help me in these statements (1) , ( 2 ), ( 3 ) only ,
if anyone knows this...........
N = 512;
dt = 1/fs; %sampling time
T = 1;
t = 0:dt:1;
y=textread('......txt');
Y = fft(y,N);
Pyy = 2*abs(Y) / min(N,T/dt); ( 1 )
mag1 = 20*log10(abs(Pyy)); ( 2 )
f = 1/dt*(0:N/2)/N;
figure(1);
plot
figure(2);
plot(f,mag1(1:N/2+1)); ( 3 )
i wan to know that what these statement tells .... plz briefly explain me
best regards
please help me in these statements (1) , ( 2 ), ( 3 ) only ,
if anyone knows this...........
N = 512;
dt = 1/fs; %sampling time
T = 1;
t = 0:dt:1;
y=textread('......txt');
Y = fft(y,N);
Pyy = 2*abs(Y) / min(N,T/dt); ( 1 )
mag1 = 20*log10(abs(Pyy)); ( 2 )
f = 1/dt*(0:N/2)/N;
figure(1);
plot
figure(2);
plot(f,mag1(1:N/2+1)); ( 3 )
i wan to know that what these statement tells .... plz briefly explain me
best regards