How to insert the missing number into the cell array?
古いコメントを表示
Suppose that I have this
I=[3 5 6 8 10 11]
A={[3];[6;8];[];[11]}
How to find the missing number of I in A and insert that number into any position of A? for intance like:
A={[3];[6;8];[5];[10;11]}
4 件のコメント
KSSV
2019 年 5 月 14 日
YOu have I in hand always?
Hang Vu
2019 年 5 月 14 日
Akira Agata
2019 年 5 月 14 日
編集済み: Akira Agata
2019 年 5 月 14 日
One quick question:
How did you define the position of '10' in your cell array A?
Hang Vu
2019 年 5 月 14 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!