How to get positive and negative area under the curve separately in simulink ?
5 views (last 30 days)
Show older comments
Swaraj Shevgan on 29 Jun 2021
Commented: Mathieu NOE on 5 Jul 2021
I got the following output in simulink. I want seperate the positive and negative area under the curve separately and also want to colour it with diffrent colours.
Mathieu NOE on 29 Jun 2021
see on FEX :
save your simulink data as array to the workspace and use the climanomaly function
x = 1:.1:20;
y = sin(x);
ref = 0;
More Answers (0)
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!