Using Surf function with matrix
Mostra commenti meno recenti
Can anyone give a quick solution how I can generate a surface plot using 3x column matrix (C attached).
when using: surf(C(:,1),C(:,2),C(:,3))
I get the message 'Z must be a matrix, not a scalar or vector'
Thanks
1 Commento
Sriram Tadavarty
il 1 Ago 2020
Try directly surf(C) and see if the output is as expected.
Risposte (2)
madhan ravi
il 1 Ago 2020
surf(C)
Alan Stevens
il 1 Ago 2020
What about simply:
surf(C)
Categorie
Scopri di più su Surface and Mesh Plots in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!