how can i put NaN
1 次查看(过去 30 天)
显示 更早的评论
How can i put NaN in row 4
回答(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!