how to read in unequal columns from an excel sheet
4 ビュー (過去 30 日間)
古いコメントを表示
Hello
I have an excel sheet with four column that are unequal in size
How would I read them into 4 matlab arrays?
Thank you
4 件のコメント
Dyuman Joshi
2023 年 9 月 11 日
"in realiy they might be in the hundrets"
Noted.
And what do you want to do with the different arrays? Do you want to perform some kind of operation/data manipulation on the them? or something else?
回答 (1 件)
Walter Roberson
2023 年 9 月 11 日
readtable() to read all entries together. Then take one variable at a time and trim off trailing empty entries.
Or possibly multiple readtable() or readmatrix() calls with 'Range' parameter indicating which column to read.
参考
カテゴリ
Help Center および File Exchange で Spreadsheets についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!