Effacer les filtres
Effacer les filtres

how to combine two different vectors into a cell array

5 vues (au cours des 30 derniers jours)
Bashir Yusuf Bichi
Bashir Yusuf Bichi le 2 Déc 2017
e.g
v=[3,6,4...]
b=[5,3,1,...]
C=cell array containing v and b

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Data Types dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by