usefulcodes.blogspot.com
AboutME
ajabgajabBLOG
nabinkm.com
NewPost
Thursday, May 7, 2015
Find and remove nan from matlab arrays
Sometimes the matrix has nans on the rows, and we would have to get rid of them before we could do any analysis.
A
(
any
(
isnan
(
A
),
2
),:)=[];
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment