how to find the closest value of certain value and 3x3 matrix
1 次查看(过去 30 天)
显示 更早的评论
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
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".
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.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Computer Vision with Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!