table 関数で型を指定して読み込む方法
Show older comments
Excelからtable関数を用いてデータを抽出する時に、数字であればdouble型で自動的に読み込むのですが、これをchair型で読み込ませる方法はありますでしょうか。
もしくは、table型内でdoubleで入った数値をchair型に変更する方法はありますでしょうか。
例えば、以下の型でデータが読み込まれたとします。
table1=table([1;2;3;4]);
これを以下のように変更する方法を教えていただけましたら幸いです。
table1=table(['1';'2';'3';'4']);
Accepted Answer
More Answers (0)
Categories
Find more on スプレッドシート in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!