Re: find the maximum value of a signal during a period
Hi,
I don´t know how to do it in simulink.
For a real circuit I´d use an OPAMP pek detector circuit. With diode and capacitor. The capacitor shows the peak voltage.
But if you look at the OPAMP output, then you will find that:
* during "non_peaks" the output saturates close to the negative supply
* during "peaks" it shows the peak_voltage + diode_voltage.
A comparator could show you "peak" or "non peak" condition.
Klaus