Table - Write results in a new rows

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?

답변 (2개)

StefBu
StefBu 2019년 3월 28일
편집: StefBu 2019년 3월 28일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 Tables에 대해 자세히 알아보기

질문:

2019년 3월 28일

답변:

2019년 3월 28일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by