How to remove NaNs from .struct

3 ビュー (過去 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 Center および File ExchangeData Type Conversion についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by