How to remove NaNs from .struct

3 visualizzazioni (ultimi 30 giorni)
Ashishkumar Gupta
Ashishkumar Gupta il 5 Gen 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 Commenti
Walter Roberson
Walter Roberson il 6 Gen 2023
Converting to table is not a bad approach.
Ashishkumar Gupta
Ashishkumar Gupta il 6 Gen 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...

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Data Type Conversion in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by