contourcs: to obtain contourc output as a struct array

contourc wrapper to return a struct array
2,7K download
Aggiornato 11 ago 2010

Visualizza la licenza

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.

Cita come

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. Recuperato .

Compatibilità della release di MATLAB
Creato con R2010a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Graphics Objects in Help Center e MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.1.0.0

General Information edited

1.0.0.0