Akzeptierte Antwort

Jos (10584)
Jos (10584) am 9 Jun. 2016

0 Stimmen

Similar question, similar answer ...
You should be able to modify the code from that one!
If you do not understand it, just ask for some more explanation...

2 Kommentare

what if i need to check values from particular column?
Fair enough. You can select the columns first:
A_selected = A(:, [ 12 13]) ;
tf = ~any(cellfun(@(x) isequal(x,0) || isequal(x,99),A_selected, 'un',1),2) ;
B = A(tf,:) ;

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Matrices and Arrays finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by