MATLAB Answers

I wanted to 3D plot my data like shown in attached image.

2 views (last 30 days)

Answers (2)

Turlough Hughes
Turlough Hughes on 25 Aug 2021
Edited: Turlough Hughes on 25 Aug 2021

Use surf() or

doc surf

there are several examples at both locations

Image Analyst
Image Analyst on 27 Aug 2021
Your x and y are only the first column of the table. You need to fill out the entire table to get a 2-D matrix.

Sign in to comment.


Community Treasure Hunt

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

Start Hunting!