Filter löschen
Filter löschen

how to combine two different vectors into a cell array

5 Ansichten (letzte 30 Tage)
e.g
v=[3,6,4...]
b=[5,3,1,...]
C=cell array containing v and b

Akzeptierte Antwort

Image Analyst
Image Analyst am 2 Dez. 2017
Try this:
C{1} = v;
C{2} = b;
If that's not what you want, then be more explicit.

Weitere Antworten (0)

Kategorien

Mehr zu Data Types finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by