How can I store data from an excel file to a 1D vector
3 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
Star Strider
2020 年 1 月 12 日
2 件のコメント
Star Strider
2020 年 1 月 12 日
Something like this:
Vector = readmatrix('YourExcelFile.xlsx');
or:
Vector = xlsread('YourExcelFile.xlsx');
depending on the function you use.
参考
カテゴリ
Help Center および File Exchange で Spreadsheets についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!