generate a 2D images into 3D plot

11 views (last 30 days)
agung pratama
agung pratama on 15 Apr 2020
Edited: agung pratama on 22 Jul 2020
Hallo, I am a new user for Matlab and i really need your help. please. I am trying to generate a 2D images into 3D plot, can anyone help me please.
  4 Comments
KSSV
KSSV on 15 Apr 2020
Atach the image and your expectations.

Sign in to comment.

Answers (1)

Ryan Comeau
Ryan Comeau on 5 May 2020
Hello you are looking for the surf function. https://www.mathworks.com/help/matlab/ref/surf.html
image=imread('path/to/image')
surf(image)
Hope this helps
RC

Community Treasure Hunt

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

Start Hunting!