- Importing your data into MATLAB
- Creating a 3D plot
Create 3D plot using Excel data
1 view (last 30 days)
Show older comments
Hello,
I have an Excel file containing around 10.000 row and 15 columns, with 10 first column are parameters my robot (for example foot length, arm width, ...) and last 5 columns are results (each row have a completely different kind of data for example speed, jump height, ...). Each row is a different combination of all parameters with it's results.
I want to be able to create 3D plots with on each axis a parameter and on colour a result.
Can you please indicate me the best method to perform this ?
NB : I'm completely a newbie on Matlab, sorry for that.
0 Comments
Answers (1)
Cris LaPierre
on 12 Jan 2021
Your problem has 2 parts
Importind Data and simple plotting are both topics covered in onramp. They likely won't cover exactly what you'll need to do, but will build a good foundation to build on.
As for creating 3D plots, there are a variety of options depending on what type of plot you want: iine, scatter, mesh, contour, etc. Ch 8 of MATLAB Onramp is probably relevant here, as the documentation is a good place to start. It will help you with the syntax and give you examples to help you get started.
0 Comments
See Also
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!