In the signal attached, how can I get the spectrum for the first segment of the signal (the signal before the major peak) and and the third segment of the signal (the signal after the major peak)? This is the code I have used, but unfortunately the figure comes up blank for some reason.
MATLAB: How to plot the spectrum of two segments from this signal
frequency spectrumspectrum
Best Answer