generate a 2D images into 3D plot

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

What images?
a bending steel plate, a curved surface, basically an image that shows the difference high of a surface, can you help me..?
Atach the image and your expectations.
agung pratama
agung pratama on 15 Apr 2020
Edited: agung pratama on 22 Jul 2020
This One

Sign in to comment.

Answers (1)

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

Asked:

on 15 Apr 2020

Edited:

on 22 Jul 2020

Community Treasure Hunt

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

Start Hunting!