Info

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

storing fft plot by some variable

1 view (last 30 days)
Smita chopade
Smita chopade on 10 Mar 2016
Closed: MATLAB Answer Bot on 20 Aug 2021
nfft=1000; q= fftshift(fft(x,nfft)); n=length(q); fs=2560; fvals=fs*(-nfft/2:nfft/2-1)/nfft; figure, plot(abs(fvals), abs(q));
I am using this code to calculate FFT of signal x. FFT plot is represented between abs(fvals) and abs(q). I want to apply hilbert on this FFT plot. Now is it possible to represent that frequency sprectrum by only one variable so that I can use further function like Hil= Hilbert('one_variable') on that FFt signal. If it is possible or not please guide me something on it.

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!