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)
.

Accepted Answer

Christopher Wallace
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
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

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!