MATLAB: Problem to transform a signal with fft fft i have the signal h(t)=sinc((10^3)*t) and i want to transform it to fourier with fft. Can you tell me the right way because it confuses me? Best Answer http://www.mathworks.com/help/signal/ref/sinc.htmlstart_time = 0;end_time = 20; %for examplet = linspace(start_time, end_time, 501); %create time vectorh = sinc(10^3*t);hf = fft(h);Now hf is the transformed value. It will have complex coefficients. Related SolutionsMATLAB: How do i get the Nyquist frequency from FFT and PSD You do not get the Nyquist frequency from the plot, you calculate it from the data.The Nyquist frequency is half the sampling frequency.So:t = ...; % Time VectorTs = t(2)-t(2); % Sampling Interval (Assuming Uniform Sampling)Fs = 1/Ts; % Sampling FrequencyFn = Fs/2; % Nyquist FrequencyI leave the rest to you. MATLAB: Code for ploting fourier transform spectrum spectrogram() Related QuestionEvaluate function handle (determine the value of function handle using the codeManual spectrogram creation without using spectrogram commandA help with fourier transformUsing fft with rectangularPulseHow to create two graph plots in one, plus scale aside
Best Answer