I am currently working on the FFT function in MATLAB. In this function, i require a 1024 number of data Time Domain plot and produce a 400 number of data Frequency domain plot.
After applying the FFT function, i obtain a result of a graph going up to 6000Hz.
However, the Frequency band produced is too big and I only wanna analyze between 0 ~ 500 Hz. I applied the Chirp-Z transform to obtain the band of 0 ~ 500 Hz, at the same time retaining the output as 400 number of data. This is what I obtain:
The problem arise as I made a comparison to the graph originally in Frequency Domain already.
(Please note that I have already both the original graphs - Time and Frequency domain to make comparison with)
As I compared the graph from MATLAB and the original one, there seems to be extra 'fingers' or so present when its supposed to be a straight line. What could be the problem and its appropriate solution?
After trying almost all available Window functions, the taylorwin Window function seems the best and this is the result:
However it still does not produce a graph that is almost similar to the original graph