how to combine a cell and a double
10 views (last 30 days)
Show older comments
Nilgun Turkileri
on 29 Jun 2015
Commented: Nilgun Turkileri
on 29 Jun 2015
Hi,
I have a cell array 144x1 (imgList2) and a double 144x4 (KeyLocs). I would like to put those 144x4 (KeyLocs) arrays into 144x1 (imgList2) as they were the second column of the imgList2.
I have done it before as
for i=1:length(imgList2{1,1}); imgList2{i,1}=imgList{1,1}(i,:); imgList2{i,2}=KeyLocs(i,:); end
but, this does not work now for some reason..It gives me this error: "??? Index exceeds matrix dimensions."
Thank you in advance,
Nil
0 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!