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

4 visualizaciones (últimos 30 días)
Mikel Luq
Mikel Luq el 1 de Abr. de 2024
Respondida: Ishaan Mehta el 23 de Dic. de 2024
I have zero knowledge in matlab, please guide me.
  3 comentarios
Mikel Luq
Mikel Luq el 1 de Abr. de 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 el 1 de Abr. de 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.

Iniciar sesión para comentar.

Respuestas (1)

Ishaan Mehta
Ishaan Mehta el 23 de Dic. de 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!

Translated by