Borrar filtros
Borrar filtros

Check at least one element is not zero in each row

1 visualización (últimos 30 días)
REN
REN el 6 de Mzo. de 2011
Hello,
The aim is to check in a large matrix A, there is at least one element is not zero in each row. I understand the normal method is
for i = 1: numberOfRow
% check at least one element is not zero
end
But this is going really slow.
Is there a smart way to verify it?
Thanks in advance.

Respuesta aceptada

Walter Roberson
Walter Roberson el 6 de Mzo. de 2011

Más respuestas (0)

Categorías

Más información sobre Modeling 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!

Translated by