how to combine two different vectors into a cell array

6 views (last 30 days)
e.g
v=[3,6,4...]
b=[5,3,1,...]
C=cell array containing v and b

Accepted Answer

Image Analyst
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.

More Answers (0)

Categories

Find more on Data Types 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!