Replace all nan values in a UITable with 0
2 views (last 30 days)
Show older comments
Adham Elkhouly
on 29 Nov 2022
Answered: Adham Elkhouly
on 29 Nov 2022
I am trying to replace all nan values in a uitable in MATLAB App designer with zeros. I tried using
app.UITable(isnan(app.UITable)) = 0;
but it doesn't change the nan values to zero
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!