Hello everybody!
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:
clc
clear all
Fs=1024;
t = 0:1/Fs:1;
x=zeros(1,1824)...