how to find the closest value of certain value and 3x3 matrix

조회 수: 1 (최근 30일)
sensation
sensation 2017년 2월 7일
편집: Jan 2017년 2월 7일
Hi,
I have an array A of 470 X 1 elements (those are areas e.g.).
I have a matrix B of 470 X 4230 elements (they are 470 X 3x3 blocks). They are also areas. I would like to search throuhout of each of these 3x3 blocks and find the closest area in respect to array A and retrieve that area B and its id.
Does anyone have some clue how I can do this?
Thanks a lot,
M.
  댓글 수: 1
Jan
Jan 2017년 2월 7일
편집: Jan 2017년 2월 7일
How exactly are the "470 X 3x3 blocks" contributed to the "470 X 4230" matrix? How do you define the distance between a scalar and a 3x3 matrix? A definition of the distance is required to determine the "closest".
I assume that this is a duplicate question and you should care about the other thread.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Computer Vision with Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by