how can i put NaN

1 visualización (últimos 30 días)
nur syafiqah
nur syafiqah el 31 de Dic. de 2021
Comentada: Yusuf Suer Erdem el 31 de Dic. de 2021
How can i put NaN in row 4
  1 comentario
Yusuf Suer Erdem
Yusuf Suer Erdem el 31 de Dic. de 2021
If my answer does your job. Accept my answer please.

Iniciar sesión para comentar.

Respuestas (2)

Yusuf Suer Erdem
Yusuf Suer Erdem el 31 de Dic. de 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 el 31 de Dic. de 2021
dl(4,:) = nan;

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by