Importing 4D Excel data sets
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello, so I am dealing with an excel document that has 4D tables and I am not sure how to import it. I've included an example below of what it looks like. Bascially the data is organized by the view, then the mass, then the results for different components at different velocities. Using the import function on MATLAB for tables results in the purple area shown below as not importable. I can import and get a long list of component vs velocity, but no identifiers as to their respective view and mass.
So is there a way to go about this? The excel code is about 5000 lines long with repeating tables, so it would be nice to not have to process that data manually to find averages for the total views. I thought maybe using a for loop and attempting to assign data to its respective view/mass, but that's purely me spitballing as I am not sure how to handle this. Thanks for any advice!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/678463/image.png)
1 Kommentar
dpb
am 8 Jul. 2021
Attach a sample file for folks to play with...and then show an example of what expected/wanted results would be.
Antworten (1)
Jeremy Hughes
am 28 Jul. 2021
You might try readcell. It will at least give you all the data.
You will have to restructure it to get the format you'd like.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Data Import from MATLAB finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!