looking for a command

2 次查看(过去 30 天)
How can I get from A=[21 3 NaN NaN] to A=[21 3 0 0] without using a for cycle?

采纳的回答

Image Analyst
Image Analyst 2013-10-6
A(isnan(A)) = 0;

更多回答(1 个)

Andrei Bobrov
Andrei Bobrov 2013-10-6

类别

Help CenterFile Exchange 中查找有关 NaNs 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by