MusicIsLife Posted February 2, 2013 Report Posted February 2, 2013 Ciao a tutti. Devo calcolare la trasformata di Fourier utilizzando il software Matlab. La funzione che utilizzo è fft presente nelle librerie Matlab. Ho a disposizione 3000 campioni di un segnale di tensione variabile (uscita di un accelerometro adeguatamente condizionato). La porzione di codice utilizzata è la classica, ovvero: N=length(x); L=length(y); Fs=45372; NFFT = 2^nextpow2(L); % Next power of 2 from length of y Y = fft(y,NFFT)/L; f = Fs/2*linspace(0,1,NFFT/2+1); plot(f,2*abs(Y(1:NFFT/2+1))) xlabel('Frequency (Hz)') ylabel('|Y(f)|') title('FFT') Il problema è che non ho ben capito qual è il valore posto sull'asse delle Y. Qualcuno saprebbe aiutarmi?
walterword Posted August 14, 2014 Report Posted August 14, 2014 il valore sulle y e 'quello che assegni a Y=fft......
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now