How to insert the missing number into the cell array?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
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?
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 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!