How to compare 2 matrices and produce a 3rd matrix of percentage similarity?
1 次查看(过去 30 天)
显示 更早的评论
I have two matrices of data that I need to compare. The actual dataset is rather large but for simplicity lets assume the first one is 3x3 and the second is 3x3. I want to 'slide' the first matrix over the second and produce a third matrix that contains data relating to the percentage match between the two matrices - I have illustrated an example of this below (only for the first 3 iterations, in total there would be six).
In the end I want a 3x3 matrix that contains percentages of match between the the black and red matrices for each iteration (X1, X2, X3 and so on) - with the sliding window there would be six total patterns which could populate the 3x3 matrix.
My MATLAB skills are still quite basic so any advice would be greatly appreciated!
Thank you!
2 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!