Info

This question is closed. Reopen it to edit or answer.

Power spectral density : it is right to evaluate with this script?

1 view (last 30 days)
Hi! I want to evaluate the power spectral density of my signal after fft. Do you think it is right to procede in this way:
Y11 = fft(Y)*delta_t;
M = length(Y);
Y22 = fftshift(Y11);
f11 = (-M/2:M/2-1)/(M*delta_t);
figure(12)
hold on
grid on
plot(f11, abs(Y22).^2);
legend("output power spectral density")
xlabel("f");

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!