필터 지우기
필터 지우기

I have (double type) matrix where I have NaN values. I want to change all NaN values to 0 value. How Can I do that?

조회 수: 19 (최근 30일)
I have (double type) matrix where I have NaN values. I want to change all NaN values to 0 value. How Can I do that?

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 2월 20일

추가 답변 (1개)

Thorsten
Thorsten 2013년 2월 20일
X(isnan(X)) = 0;

카테고리

Help CenterFile Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by