Eliminates nan values
[nonan,numb]=thrownan(x)
:
This function returns in vector nonan the values (ignoring the %nan entries) of a matrix x and in the corresponding places of vector numb the indexes of the value.
x=[0.2113249 %nan 0.6653811;0.7560439 0.3303271 0.6283918]
[nonan numb]=thrownan(x)
`and`_(x(numb)==nonan) // Must be %t