how can i put NaN
1 回表示 (過去 30 日間)
古いコメントを表示
How can i put NaN in row 4
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/848840/image.png)
1 件のコメント
回答 (2 件)
Yusuf Suer Erdem
2021 年 12 月 31 日
Try these codes below which I did for you, I hope could have given you an idea about it. Good luck!
A = randi([1 100],3,30019,'double');
newRow = NaN(1,30019);
newMatrix=[A; newRow];
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!