[ A ] = ContourArea( C )
C is a 2*n matrix corresponding to the output of the low-level contourc function. A is a 2*m matrix, the first line corresponding to the m heights specified in C and the second line corresponding to the output of Polyarea of each contour.
This function is straight forward and is no rocket science. Could be improved by adding as input the number of contours for vectorization.
引用格式
HY (2024). Surface areas of contour (https://www.mathworks.com/matlabcentral/fileexchange/40111-surface-areas-of-contour), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2012a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Surface and Mesh Plots 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |