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

1 view (last 30 days)
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 Comment
Jan
Jan on 7 Feb 2017
Edited: Jan on 7 Feb 2017
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.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!