Ismembertol with 'rows' option
2 次查看(过去 30 天)
显示 更早的评论
Hello everyone,
I am looking for a way to couple the 'rows' option with a set tolerance. I have a array of points A whose coordinates form a ring. Once I rotate them by a given angle I obtain a set of points B whose coordinates should match the ones of A. My goal is to find the row j of array B which equals the row i of array A. Given that the rotation creates some numerical error I won't have perfect match, that's why I'm looking for a way which could overcome this issue.
0 个评论
采纳的回答
Jan
2018-7-30
You can calculate the pairwise distance and set a threshold to accept two vectors as equal.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Operators and Elementary Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!