Hi users Matlab!
Users, I have an matrix as 3 dimensions:
a=10x8x2 (...)
This matrix I have some values that I had to call as NaN (...)
I applied function ()=~isnan() for renove these NaN (...) But, my matrix that had 3 dimensions was only 2 dimensions (...)
I'd like to kwon how to keep my 3 dimensions when use the function ()~isnan()
Thanks!
Carlos
I need that there are withdrawal these NaN in a matrix com 3D

 채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2014년 7월 14일
편집: Azzi Abdelmalek 2014년 7월 14일

0 개 추천

You can't remove some values of your matrix. You can remove columns, rows or channels. Obviously, the size of your matrix will be reduced

댓글 수: 3

Carlos Batista
Carlos Batista 2014년 7월 14일
편집: Azzi Abdelmalek 2014년 7월 14일
Azzi
My time series had a value of 32767. However these values, I needed ignore them of my time series, because that they were disturbing my calculations. I thought use the NaN, for don't consider the 32767 in the calculations. ... How could ignore these 32767?
Azzi Abdelmalek
Azzi Abdelmalek 2014년 7월 14일
In your original question, your matrix is 10x8x2.
Carlos Batista
Carlos Batista 2014년 7월 14일
my original matrix has 180x88x1919

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Constants and Test Matrices에 대해 자세히 알아보기

태그

질문:

2014년 7월 14일

댓글:

2014년 7월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by