T = 3*(1/25);
fs = 1000;
t = 0:1/fs:T-1/fs;
x = sawtooth(2*pi*25*t,1/2);
x = (x + 1)*0.5;
subplot(3,1,1)
plot(t,x)
grid on
xlabel('Time t (sec)')
ylabel('Amplitude')
This is my code and my signal. I want to find its fifth and seventh harmonics. How can I do that ? I cannot find any source or any example for this. Can anybody help me ?