Table - Write results in a new rows
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (2)
StefBu
am 28 Mär. 2019
Bearbeitet: StefBu
am 28 Mär. 2019
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 Kommentare
Siehe auch
Kategorien
Mehr zu Logical 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!