How can I store data from an excel file to a 1D vector
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have an excel spreadsheet with many values all in one column. How can I import these into matlab to be saved as a 1D vector?
0 Kommentare
Antworten (1)
Star Strider
am 12 Jan. 2020
2 Kommentare
Star Strider
am 12 Jan. 2020
Something like this:
Vector = readmatrix('YourExcelFile.xlsx');
or:
Vector = xlsread('YourExcelFile.xlsx');
depending on the function you use.
Siehe auch
Kategorien
Mehr zu Spreadsheets finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!