3-D surface plot problem if Z is not a equation
Afficher commentaires plus anciens
If Z is a function of X and Y , Is it possible to plot surface using the following data. I can do this by Microcol Origin software. bt cant do by MATLAB without the equation of Z.
x= [66 66 66 66 66 66 258 258 258 258], y=[0.1 0.1 0.1 0.1 0.1 0.1 0.2 0.2 0.2 0.2], and z=[40 85 130 20 70 155 70 190 75 250],
2 commentaires
David Young
le 8 Juin 2011
What do you want to do about the repeated coordinates? You have several z values for (x, y) = (66, 0.1) for example.
IEEE IE
le 8 Juin 2011
Réponses (2)
David Young
le 8 Juin 2011
Have a look at the example in
doc TriScatteredInterp
Patrick Kalita
le 8 Juin 2011
0 votes
2 commentaires
IEEE IE
le 9 Juin 2011
Patrick Kalita
le 13 Juin 2011
Would you like to clarify what you mean by "does not work"? Did you get an error? Did you get a plot, but it was not what you expected?
Catégories
En savoir plus sur Surface and Mesh Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!