surface plot of three independent variables
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Ubaid Ullah
le 13 Nov 2020
Réponse apportée : John D'Errico
le 13 Nov 2020
I need a surface plot of three independent variables from an excell sheet. The error I am getting is that Z must be a matrix, not a scalar or vector.
0 commentaires
Réponse acceptée
John D'Errico
le 13 Nov 2020
Let me see. You want to create a plot from 3 independent variables, but one of them is always zero. So there is no information content in that dimension. You might as well have said there are 5 other variables, each of which is also zero. And so?
The rest of your data is massively replicated, so you have only 9 distinct points, at these combinations.
unique(AD,'rows')
ans =
500 30
500 60
500 90
1000 30
1000 60
1000 90
1500 30
1500 60
1500 90
Sorry, but what? There is nothing that can be interpreted to represent a surface in those points.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Surface and Mesh 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!