필터 지우기
필터 지우기

how to combine two different vectors into a cell array

조회 수: 5 (최근 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 CenterFile Exchange에서 Data Types에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by