
How to get positive and negative area under the curve separately in simulink ?
12 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Swaraj Shevgan
le 29 Juin 2021
Commenté : Mathieu NOE
le 5 Juil 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.

0 commentaires
Réponse acceptée
Mathieu NOE
le 29 Juin 2021
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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur General Applications dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!