double type+ surf error
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Ou Jin Sheng
il 7 Mag 2021
Commentato: Ou Jin Sheng
il 9 Mag 2021
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/610170/image.png)
how can i show the surface of image b? Please advise. Thankssss
0 Commenti
Risposta accettata
Thukiller
il 7 Mag 2021
When you use 'surf(x)', x cannot be a 3-dimensional vector,maybe you can use 'surf(b(:,:,1), b(:,:,2), b(:,:,3))'
if you need to know more about surf(), you can use 'doc surf'
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!