double type+ surf error

2 views (last 30 days)
Ou Jin Sheng
Ou Jin Sheng on 7 May 2021
Commented: Ou Jin Sheng on 9 May 2021
how can i show the surface of image b? Please advise. Thankssss

Accepted Answer

Thukiller
Thukiller on 7 May 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'

More Answers (0)

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!