How to hold a peak value from a fcn block
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I am trying to use a peak output value from a fcn block as an input to the fcn block, and I'm struggling.
I need to somehow have an input to the function that is the highest output value from all previous times. When a new maximum output value is calculated, I need the input to change to this value.
I have tried to use "Sample & Hold" and "Min/Max" but these have not worked...
0 Commenti
Risposte (1)
Mischa Kim
il 14 Mar 2014
Richard, use the minmax block (also allows you to reset). E.g.,
0 Commenti
Vedere anche
Categorie
Scopri di più su String in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!