extracting the index of an irregular line on a 2D matrix
2 次查看(过去 30 天)
显示 更早的评论
Hi.
I have a 2D matrix and a vector which passes through some samples of this matrix irregularly. The vector values shows the Y values of the samples it passes through. I want to extract the index of each sample of this vector roughly. In other words, I want to know the corresponding index number of each vector sample, in the matrix. Please find attached the image. The vector values are shown in white line passes throgh the 2D matrix (image).
Any suggestions?
Thanks.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/430768/image.png)
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!