How to find the position of a number in an cell-array?
6 views (last 30 days)
Show older comments
Nazmun Nahar Khan
on 26 Feb 2021
Commented: Nazmun Nahar Khan
on 26 Feb 2021
I have a cell array P= {[2,5], [3], [], [1,14], [], [9]}. I want to find out the number of cell where value 14 is located. Like, here 14 is located inside the cell number 4.
How can I do that?
2 Comments
Accepted Answer
More Answers (0)
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!