function to calculate rows with non-missing data

I have an excel file with many missing data. How can i write a function to calculate the number of rows with no-missing data for each column.
Filename and column number will be the input variables.
Thank you!

回答 (1 件)

dpb
dpb 2020 年 11 月 7 日

0 投票

Don't need to write any functions -- use ismissing and friends with, perhaps sum and maybe all, any could be of interest as well.

質問済み:

2020 年 11 月 7 日

回答済み:

dpb
2020 年 11 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by