how can i put NaN

3 vues (au cours des 30 derniers jours)
nur syafiqah
nur syafiqah le 31 Déc 2021
Commenté : Yusuf Suer Erdem le 31 Déc 2021
How can i put NaN in row 4
  1 commentaire
Yusuf Suer Erdem
Yusuf Suer Erdem le 31 Déc 2021
If my answer does your job. Accept my answer please.

Connectez-vous pour commenter.

Réponses (2)

Yusuf Suer Erdem
Yusuf Suer Erdem le 31 Déc 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];

Walter Roberson
Walter Roberson le 31 Déc 2021
dl(4,:) = nan;

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by