필터 지우기
필터 지우기

Find zero crossings in multidimensional matrix

조회 수: 1 (최근 30일)
Nate
Nate 2018년 9월 26일
댓글: Bish Erbas 2018년 9월 26일
Hello,
I have a multidimensional (5-D) matrix that is a sparse sampling of a smooth function. I would like to interpolate to find the coordinates where the matrix is zero. Does anyone know a way to do this?
Thank you Nate

답변 (1개)

Bish Erbas
Bish Erbas 2018년 9월 26일
Code below finds all zero elements of the example 2x2x5 matrix.
B = repmat([0 1],[2 2 5]);
B(B==0)
  댓글 수: 4
Nate
Nate 2018년 9월 26일
Guillaume is correct. However, my matrix isn't sparse though (bad choice of words on my part).
Bish Erbas
Bish Erbas 2018년 9월 26일
Sorry for my misunderstanding.

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

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by