필터 지우기
필터 지우기

how can I delete all value in matrix (for example my matrix include a lot of ' NaN not a number' and i want to delete this)

조회 수: 1 (최근 30일)
hi every one
my matrix is very size (13*39494) and also including NaN(not a number) value and different where. i want to take a mean my matrix but I can't because of NaN values.
Briefly I want to delete all NaN value of my matrix how can I ?
thanks for answer.

채택된 답변

Stalin Samuel
Stalin Samuel 2015년 3월 20일
MFCCs_Sum(isnan(MFCCs_Sum))=0
or
MFCCs_Sum(isnan(MFCCs_Sum))=[]
  댓글 수: 1
onur erdem korkmaz
onur erdem korkmaz 2015년 3월 20일
after your code matrix to be in image (1*484068). but I want 13*..... that is only delete of including NaN column and result matrix is 13*.... likely

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

추가 답변 (1개)

onur erdem korkmaz
onur erdem korkmaz 2015년 3월 20일
Thanks for your answer.
do you know why matrix include NaN value? is it normal ?

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by