Table - Write results in a new rows
3 ビュー (過去 30 日間)
古いコメントを表示
From a measurement, only certain values should be written in a matlab table.
These should be written successively in new rows ob the table.
Whats the best way to do this?
0 件のコメント
回答 (2 件)
StefBu
2019 年 3 月 28 日
編集済み: StefBu
2019 年 3 月 28 日
Hi, you can create a cell array and then add a new row to your table by concatenation.
For example if your table variables are double and you have 4 variables in total. now if you want to add a row with 9999 each try this.
newRow = {9999, 9999, 9999, 9999};
Table = [Table; newRow];
Greetings
Stefan
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!