Try the ismember() function.
how to search for cell in cell array?
3 次查看(过去 30 天)
显示 更早的评论
if i have these two cell arrays .in cell array cluster points for example in the first column i have point 1 ,3 and 4 . so i want to loop over them to find in hops cell array the index of the row which contain 1 in 1st column and 3 in 2nd column which is index 3, then find the index of the row which contain 1 in 1st column and 4 in 2nd column which is index ,then find the index of the row which contain 3 in 1st column and 3 in 2nd column which is index 14, so i can input anything in hops{index,3}

0 个评论
回答(1 个)
另请参阅
类别
在 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!