From: Natalie Sin Hwee on
Dear Mathworks users ^^

I have a matrix of 800x2
1 NaN
1 NaN
1 NaN
1 NaN
1 97
1 47
1 NaN
1 NaN
2 NaN
2 NaN
2 NaN
2 13
2 97
2 47
2 NaN
2 NaN


...... continued


I want to :

if row contains NAN, remove row completely so i end up with :
1 97
1 47
2 13
2 97
2 47

What function can i use? I've tried to 'find' the Nan's but it appears blank:
[r,c,v]=find(x==nan)

Thanks you!

Kind regards,
Natalie ^^
 | 
Pages: 1
Prev: assempde
Next: box plots with 2 different y axes