Anyone please guide me on how to plot 3D surface with excel data

4 views (last 30 days)
I have zero knowledge in matlab, please guide me.
  3 Comments
Mikel Luq
Mikel Luq on 1 Apr 2024
Basically im doing basic engine performance, the column is the manifold absolute pressure and row is RPM. The colored data is the Torque produce. Im going to 3d plot so that i can see the surface of the torque produced.
John D'Errico
John D'Errico on 1 Apr 2024
@Mikhail Luqman - zero knowledge does not mean you need make no effort, and get code written for you. And now that you have used that zero knowledge get out of jail free card, you don't get to use it again. you need to start making an effort, as you won't learn anything about MATLAB by conning people into doing your work for you.

Sign in to comment.

Answers (1)

Ishaan Mehta
Ishaan Mehta on 23 Dec 2024
Hi Mikel,
The first step would be to import the data from Excel sheet into MATLAB. The "readtable" and "spreadsheetDatastore" function should be helpful for the same, as mentioned in the following MathWorks documentation page:
The, you can use the "surf" function in MATLAB to create 3D surface plots, or explore other 3D plot alternatives such as mesh plot, quiver plot etc. Below are some documentation pages to help you get started.
Hope this helps.

Community Treasure Hunt

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

Start Hunting!