How I can ignore NaN during calculating @std using "retime.

9 vues (au cours des 30 derniers jours)
Ritesh
Ritesh le 30 Mar 2023
Commenté : Ritesh le 3 Avr 2023
d2_std = retime(f2,'yearly',@std);
Here "f2" is monthly data containg some of the month NaN. so, "d2_std" giving NaN for all the year, how I can ignore NaN of f2;

Réponse acceptée

the cyclist
the cyclist le 30 Mar 2023
Modifié(e) : the cyclist le 30 Mar 2023
retime(f2,'yearly',@(x)std(x,'omitnan'))

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by