필터 지우기
필터 지우기

How to manage NaN in matrix during imwarp/fitgeotrans

조회 수: 1 (최근 30일)
Chockalingam Kumar
Chockalingam Kumar 2019년 4월 3일
편집: KALYAN ACHARJYA 2019년 4월 4일
I have a matrix that contains NaN. What is the best way to perform imwarp/fitgeotrans or imrotate operations on the matrix without changing the mean value of the elements of the matrix?
  댓글 수: 1
KALYAN ACHARJYA
KALYAN ACHARJYA 2019년 4월 4일
편집: KALYAN ACHARJYA 2019년 4월 4일
mean or mean2?
How do you find mean of matrix which having NaN elements? It Normally gives NaN
A =
16 2 3 13
5 NaN 10 8
9 7 6 12
4 14 15 1
>> original_mean=mean2(A)
original_mean =
NaN

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by