MATLAB Answers

Counting the non nan observations in a matrix by row

102 views (last 30 days)
Hi,
I have a matrix for which I want to compute the number of non-nan observations for each row without running a loop. is this possible?

Community Treasure Hunt

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

Start Hunting!

Translated by