필터 지우기
필터 지우기

A small problem about the Cell Array.

조회 수: 2 (최근 30일)
Donghui  Sun
Donghui Sun 2013년 8월 25일
I am a newbie for the cell array in Matlab programming.I need a cell array, for example C, with the five elements,a,b,..,e. Each element is a matrix, and may be in different size.
How to program to implement this issue?

채택된 답변

Image Analyst
Image Analyst 2013년 8월 25일
The FAQ may help: http://matlab.wikia.com/wiki/FAQ?&cb=8212#What_is_a_cell_array.3F. I think it gives a good intuitive explanation of how they work.

추가 답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2013년 8월 25일
a=2;
b=[2 5];
c=[2 4;4 5];
A={a,b,c}

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by