how to find the closest value of certain value and 3x3 matrix
1 view (last 30 days)
Show older comments
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
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".
What is the difference to your question http://www.mathworks.com/matlabcentral/answers/323066-finding-the-closest-area-match-between-matrix-3x3-and-another-data-set?
I assume that this is a duplicate question and you should care about the other thread.
Answers (0)
See Also
Categories
Find more on Computer Vision with Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!