Effacer les filtres
Effacer les filtres

How to remove NaNs from .struct

2 vues (au cours des 30 derniers jours)
Ashishkumar Gupta
Ashishkumar Gupta le 5 Jan 2023
I have one .struct. Inside this there are 3 different .struct. These .struct have 50-70 different variables (date, time, numbers) (attached here)
I want to remove all the NaNs or replace them with 0 .
Thank you!!
  7 commentaires
Walter Roberson
Walter Roberson le 6 Jan 2023
Converting to table is not a bad approach.
Ashishkumar Gupta
Ashishkumar Gupta le 6 Jan 2023
Hi @Image Analyst. Sorry for the inconvenience caused. I am new here, so did not know that I have to attach a file.
But yeah, I got a solution to my problem!!!!
Thanks everyone...

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Logical 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