convert array in matrix

조회 수: 2 (최근 30일)
elisa ewin
elisa ewin 2016년 6월 15일
답변: Azzi Abdelmalek 2016년 6월 15일
Hi! I want to trasform the cell arrays attached in a matrix, can you help me?

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2016년 6월 15일
load matlab
a=cell2mat(pairs(:,1))
b=pairs(:,2)
b=cell2mat([b{:}]')

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by