matlab - logical array more than one dimension -


        adc.nv 789 x 2 array          in = ~isnan(adc.nv);          nv = adc.nv(in); 

after getting 1576 x 1 array instead of 788 x 2 array

this behaviour explained here: http://www.mathworks.nl/help/techdoc/math/f1-85462.html#bq7egb6-1

because

in = ~isnan(adc.nv); 

in can have different number of true/false element in each row and/or column, possible resulting matrix adc.nv(in) has different number of elements per row/column , cannot constructed a matrix matlab throws in 1 vector.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -