how to combine two different vectors into a cell array

3 ビュー (過去 30 日間)
Bashir Yusuf Bichi
Bashir Yusuf Bichi 2017 年 12 月 2 日
回答済み: Image Analyst 2017 年 12 月 2 日
e.g
v=[3,6,4...]
b=[5,3,1,...]
C=cell array containing v and b

採用された回答

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrices and Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by