Create an array containing indeces and value
2 views (last 30 days)
Show older comments
Hi everyone,
I have a problem that I don't know how to solve. How Can I create an array C from two matrix A (50X100)and B (50X100) where the matrix B contains the x coordinates of the value contained in Matrix A (meaning that to the value in the first row A correspond the coordinates in the first row B)?
Thank you so much
5 Comments
Answers (2)
Matt J
on 21 Apr 2022
I need to the cross correlate the "combined" vectors with another vector. I don't know how to do it if they are separated.
xcorr2() or imfilter() should do that directly.
0 Comments
See Also
Categories
Find more on Creating and Concatenating Matrices 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!