how can i put NaN
    3 views (last 30 days)
  
       Show older comments
    
How can i put NaN in row 4

1 Comment
Answers (2)
  Yusuf Suer Erdem
      
 on 31 Dec 2021
        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 Comments
See Also
Categories
				Find more on Logical in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

