Anyone please guide me on how to plot 3D surface with excel data
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have zero knowledge in matlab, please guide me.
3 commentaires
John D'Errico
le 1 Avr 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.
Réponses (1)
Ishaan Mehta
le 23 Déc 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:
Read Spreadsheet Data into Table: https://www.mathworks.com/help/matlab/import_export/read-spreadsheet-data-into-table.html
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.
Creating 3-D plots: https://www.mathworks.com/matlabcentral/answers/2101216-anyone-please-guide-me-on-how-to-plot-3d-surface-with-excel-data?s_tid=srchtitle
Surface and Mesh Plots: https://www.mathworks.com/help/matlab/surface-and-mesh-plots-1.html
Hope this helps.
0 commentaires
Voir également
Catégories
En savoir plus sur Spreadsheets dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!