nanmean and mean ( 'omitnan') error
Afficher commentaires plus anciens
Hi all,
I have a question, I have a data set like this

I replace empty cells with nan and then I try to use nanmean and also mean (PAR_1, 'omitnan'), but I face this error anyway:
Error using sum
Invalid data type. First argument must be numeric or logical.
Does anybody know how can I solve this?
Thanks,
Réponse acceptée
Plus de réponses (1)
Sahar khalili
le 22 Juil 2021
0 votes
Catégories
En savoir plus sur Data Import and Analysis dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!