I have the following cell array (c) which is 3*2. Now I want to find all elements of lets say c{1,1} which is [3,2]. The answer that I wish to have is (2) which refers to the index of these elements separately. Any possible ideas? thanks
c=
{[3,2]} {[4,1]}
{3} {2}
{4} {1}
3 件のコメント
Adam Danz (view profile)
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/477930-find-all-elements-cells-of-a-single-element-cell-in-cell-array#comment_739868
MA (view profile)
Direct link to this comment
https://au.mathworks.com/matlabcentral/answers/477930-find-all-elements-cells-of-a-single-element-cell-in-cell-array#comment_739870
Adam Danz (view profile)
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/477930-find-all-elements-cells-of-a-single-element-cell-in-cell-array#comment_739885
サインイン to comment.