How to remove NaNs from .struct

3 visualizaciones (últimos 30 días)
Ashishkumar Gupta
Ashishkumar Gupta el 5 de En. de 2023
Comentada: Ashishkumar Gupta el 6 de En. de 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 comentarios
Walter Roberson
Walter Roberson el 6 de En. de 2023
Converting to table is not a bad approach.
Ashishkumar Gupta
Ashishkumar Gupta el 6 de En. de 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...

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Data Type Conversion en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by