How to get positive and negative area under the curve separately in simulink ?
10 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
采纳的回答
Mathieu NOE
2021-6-29
hello
see on FEX :
save your simulink data as array to the workspace and use the climanomaly function
exemple :
x = 1:.1:20;
y = sin(x);
ref = 0;
figure
climanomaly(x,y,ref);
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!