I want to mirror my signal over the y axis and make 4 repetitions of it
조회 수: 7(최근 30일)
I am trying to show that the frequency specter of a signal repeats itself. I wrote a code which samples a signal and plots its frequency specter, but it only shows the specter from 0 onwards (half the signal), and only 1 repetition.
I wish for it to be symetric over the y axis and repeat itself, something in this style:(pardon my symplisti drawing)
this is my code:
Fs=1e6; %%%% frequency of sampling
plot(f,mx), title('Freq. Spekter, Fs = 1MHz'), xlabel('frekvenca (Hz)'), ylabel('moč')