The min(max) is the minimum of the local maximum when you use a slide window on a signal. Max(min) is the opposite: the maximum of the local minimum.
It creates the upper envelope and lower envelope of the signal.
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)...