how can i show the surface of image b? Please advise. Thankssss

 Accepted Answer

Thukiller
Thukiller on 7 May 2021

0 votes

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!