how to combine two different vectors into a cell array
2 views (last 30 days)
Show older comments
Bashir Yusuf Bichi
on 2 Dec 2017
Answered: Image Analyst
on 2 Dec 2017
e.g
v=[3,6,4...]
b=[5,3,1,...]
C=cell array containing v and b
0 Comments
Accepted Answer
Image Analyst
on 2 Dec 2017
Try this:
C{1} = v;
C{2} = b;
If that's not what you want, then be more explicit.
0 Comments
More Answers (0)
See Also
Categories
Find more on Matrices and Arrays 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!