Specific area under curve
조회 수: 1 (최근 30일)
이전 댓글 표시
I have two sets of data - pressure and volume. Plotting volume on the x axis and pressure on the y axis, the plot is obtained as shown in the figures. Some plots will have loops (marked in red, highlighted in yellow). I want to know if there is any way to determine the presence of those smaller (inner) loops or area under those smaller (inner) loops.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/881395/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/881400/image.png)
댓글 수: 0
답변 (1개)
Benjamin Thompson
2022년 2월 2일
You could locate the "center" of the large circle or oval. Try calculating the polar cordinates, angle and radius, from the center to each data point. Any angle used more than once, or if the rate of change in angle backtracks, is a likely place for an inner loop.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!