contourcs: to obtain contourc output as a struct array

版本 1.1.0.0 (2.3 KB) 作者: Kesh Ikuma
contourc wrapper to return a struct array
2.6K 次下载
更新时间 2010/8/11

查看许可证

MATLAB CONTOURC returns a contour matrix that summarizes the contour lines. Although compact, it takes an extra step to decipher the matrix. CONTOURCS wraps CONTOURC function to return the content of the contour matrix as an easily accessible structure array.

S = CONTOURCS(Z) returns a struct array with fields:

S(n).Level - level of the n-th contour line
S(n).Length - number of points for the n-th contour line
S(n).X - X coordinate vector (S(n).Length samples)
S(n).Y - Y coordinate vector (S(n).Length samples)

CONTOURCS supports all the CONTOURC input argument forms.

引用格式

Kesh Ikuma (2024). contourcs: to obtain contourc output as a struct array (https://www.mathworks.com/matlabcentral/fileexchange/28447-contourcs-to-obtain-contourc-output-as-a-struct-array), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2010a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Graphics Objects 的更多信息
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.0.0

General Information edited

1.0.0.0