Hi.. I'm need help for power spectra density coding??
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
length(y)
nfft = 2^nextpow2(length(y_delta));
Fs=100;
Pxx = abs(fft(y,nfft)).^2/length(y)/Fs;
subplot(2,2,1),
plot(Pxx,'DisplayName','Pxx','YDataSource','Pxx');
Hpsd = dspdata.psd(Pxx(1:length(Pxx)/2),'Fs',Fs);
plot(Hpsd);
this is my program for PSD.. y is my name of data.. the problem is the graph will plot the x axis as frequency and y axis in dB.. the problem is, i want to maintain my amplitude value at y axis without changing it into dB.. how i can do that? anyone can help me?
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Parametric Spectral Estimation en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!