Matlab code for cumulative area calculation
I have plotted a graph of load and displacment shown below:
enter image description here
The area enclosed within this graph is energy dissipated. I want to know what the area is inside each loop the graph makes. For example, I want the code to return loop 1: area in loop 1, loop 2: area in loop 2, …