
I'm attempting to determine the maximum value of a signal (SIMULINK) . The max block returns the exact same signal back to me. What can I do to extract the maximum value?
1 view (last 30 days)
Show older comments
Accepted Answer
Christopher Wallace
on 17 Jul 2018
If you want to do it purely in Simulink you could do something like this:

If you only need the data after the simulation is ran you could output the signal using the ToWorkspace block and then post process the data.
5 Comments
Christopher Wallace
on 17 Jul 2018
Hi Ziad,
Thanks for your explanation. I changed the model slightly, does this work for you?

If not, if you could upload your input data and a screenshot of your model I'd be glad to take a look.
Best, Chris
More Answers (0)
See Also
Categories
Find more on Sources in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!