Plotting a table as 3d mesh where x = columns, y = rows, z = cell value
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I am trying to plot EEG data as a 3d mesh or surface so I am then able to export it to a CAD program such as Fusion 360.
My data comes from an excel spreadsheet, and this is how it is set up / how I would like to plot it:
X = row number (time)[47100 rows]
Y = column number (channel)[64 columns]
Z = cell value (voltage)[positive and negative]
I am just importing the data by going to import data then import as table. I am new to matlab but I have been doing my best to learn it, so please let me know what I am doing wrong in my search or if there is a way to do this simply because I am coming up with nothing for using data that is in this configuration. If you know of a way I would be able to change it to better work, that would be fine. I just need the plot points and matlab is the only way to get plot them so I am able to export to CAD.
0 Commenti
Risposta accettata
Star Strider
il 5 Mar 2017
The scatter3 function might be most appropriate.
If you want a surface and your data are gridded (the easiest way to determin this is by plotting them with the stem3 function), then consider experimenting with the griddedInterpolant function. If they are not gridded, consider using the scatteredInterpolant function.
See the documentation for information on using the functions most effectively.
12 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Biomedical Signal Processing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
