Anyone please guide me on how to plot 3D surface with excel data
조회 수: 4 (최근 30일)
이전 댓글 표시
I have zero knowledge in matlab, please guide me.
댓글 수: 3
John D'Errico
2024년 4월 1일
@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.
답변 (1개)
Ishaan Mehta
2024년 12월 23일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!