Replace one NAN with zero in a row vector without a loop
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Zeynab Mousavikhamene
am 19 Aug. 2019
Beantwortet: Raj
am 19 Aug. 2019
I have a row vector that its size is changing in each run. Some of its elements might be NAN and I want to replace those with zero.
How can I do that without need to have a loop? isnan(A) finds nan values but I need to replace and I want to avoid loop.
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
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!