Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Could not add the data
2 ビュー (過去 30 日間)
古いコメントを表示
Does anyone know how to add the inputData into the 5th row of the result? I tried many times and it not work :((
thank you so much
2 件のコメント
Walter Roberson
2019 年 9 月 2 日
instead of using
string({var1 var2 var3 var4})
use
[string(var1) string(var2) string(var3) string(var4)]
回答 (1 件)
Sai Sri Pathuri
2019 年 9 月 5 日
You can add the inputData to the fifth row of results by the following code.
results(5,:)=inputData;
However, this gives an error since the number of columns are different in results and inputData.
You may try either of the following before using above code
- Remove volume element from inputData (This makes number of columns = 4)
- Add a column of volumes to the results array (This makes number of columns = 5)
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!