How to remove NaNs from .struct

3 Ansichten (letzte 30 Tage)
Ashishkumar Gupta
Ashishkumar Gupta am 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 Kommentare
Walter Roberson
Walter Roberson am 6 Jan. 2023
Converting to table is not a bad approach.
Ashishkumar Gupta
Ashishkumar Gupta am 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...

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Data Type Conversion finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by