필터 지우기
필터 지우기

How to get positive and negative area under the curve separately in simulink ?

조회 수: 6 (최근 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.

채택된 답변

Mathieu NOE
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);
  댓글 수: 10
Swaraj Shevgan
Swaraj Shevgan 2021년 7월 5일
Hello,
Thank you very much . This will help me alot in my simulation.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Physical Units에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by