delete rows with a special number
Mostrar comentarios más antiguos
Hi ,
can someone please help me to delete the entire rows with 99?
A=
[ 0.0125 0.9025
99.0000 99.0000
99.0000 99.0000
99.0000 99.0000
99.0000 99.0000
0.1162 0.0176
99.0000 99.0000
99.0000 99.0000
99.0000 99.0000
99.0000 99.0000]
thanks.
Respuesta aceptada
Más respuestas (1)
vipul utsav
el 22 de Mzo. de 2013
ind=find(A==99.0000);
A(ind)=0;
A=A;
1 comentario
dav
el 22 de Mzo. de 2013
Categorías
Más información sobre Matrix Indexing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!