I am trying to determine and plot the local extrema (min(max) and max(min)) for the signal y=x.*w with x(400:1424)=sin(2*pi*t) and w(400:1424)=sin(52*pi*t).
I am using matlab 2010b with the following script:
t = 0:1/Fs:1;
plot(y); hold on;
Is there anyone with an idea how to accomplish this?