How to remove NaNs from .struct

조회 수: 4 (최근 30일)
Ashishkumar Gupta
Ashishkumar Gupta 2023년 1월 5일
댓글: Ashishkumar Gupta 2023년 1월 6일
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
Walter Roberson
Walter Roberson 2023년 1월 6일
Converting to table is not a bad approach.
Ashishkumar Gupta
Ashishkumar Gupta 2023년 1월 6일
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...

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Type Conversion에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by