Effacer les filtres
Effacer les filtres

Contour plot and matrices sizes

1 vue (au cours des 30 derniers jours)
Morgan
Morgan le 10 Sep 2012
HI there, am facing trouble with contour plots and matrices sizes, I have the following matrices sizes; X=9 x 1,,,, Y=7 x 9,,, and Z=7 x 1
when I try to execute the command contour(X,Y,Z) and having errors associated with the dimensions, thus I have tried to do a for loop to draw each column of Y and I have neglected some elements of X to make it 7x1 but without any luck!
if you have any idea or suggestion it would be appreciated !
Thanks Morgan

Réponses (1)

Walter Roberson
Walter Roberson le 10 Sep 2012
Your Z must be a full matrix (e.g., 7 x 9) for contour plotting.

Catégories

En savoir plus sur Contour Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by