storing fft plot by some variable

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.

답변 (0개)

이 질문은 마감되었습니다.

질문:

2016년 3월 10일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by