How to convert to nan
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
주희 박
el 19 de Mayo de 2022
Comentada: 주희 박
el 20 de Mayo de 2022
FF= [1 2 3 4 5; 6 7 8 9 10; 11 12 13 14 15];
And if n<10, convert n to nan. This is what i want to know
Actually I have 10614X696 double file, I can't convert it respectively.
And I want to convert it to nan in sepcific range.
Thanks.
0 comentarios
Respuesta aceptada
Más respuestas (1)
Mathieu NOE
el 19 de Mayo de 2022
hello
try this
FF= [1 2 3 4 5; 6 7 8 9 10; 11 12 13 14 15];
[i,j] = find(FF > 0 & FF < 10);
FF(i,j) = NaN;
Ver también
Categorías
Más información sobre Data Type Conversion en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!