Wanted to apply texture image on a surface

Hello,
I would like to apply a texture image to a surface that I created with this following matrix:
But I can not apply an image on it, I managed on an ellipsoid thanks to the function:
T = imread ('texturemetal.jpg');
surf (x, y, z, 'CData', T 'FaceColor', 'textureMap')
But there I can not, I tried to reapply the same function but with the fill3, I can not do it.
Thank you for your help

Answers (0)

Asked:

M D
on 9 Dec 2017

Edited:

M D
on 9 Dec 2017

Community Treasure Hunt

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

Start Hunting!