Area under a hysteresis curve

49 vues (au cours des 30 derniers jours)
bhuvan khoshoo
bhuvan khoshoo le 16 Fév 2021
Commenté : bhuvan khoshoo le 16 Fév 2021
I am trying to calculate absolute area of a hysteresis loop as shown in attached image. I am first dividing the curve into 2 halves based on positive and negative values on y axis.
Then I have 2 curves in "red" and "yellow" on bottom half. I am using trapz(x,y) to find out area under both curves separately. And then the area that i require is double of the difference between the 2 areas.
Is this approach correct? Is there any simpler way of doing this? Thanks.

Réponse acceptée

KSSV
KSSV le 16 Fév 2021
Yes yoou can use trapz. Other option is, arrange the coordinates of curves into a closed polygon and use polyarea.
  1 commentaire
bhuvan khoshoo
bhuvan khoshoo le 16 Fév 2021
Thanks a lot.

Connectez-vous pour commenter.

Plus de réponses (0)

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by