Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To read a cell array

Asked by sarfudeen on 29 Mar 2013

To read a particular column of a cell array using the position of header name.

0 Comments

sarfudeen

Products

No products are associated with this question.

1 Answer

Answer by Azzi Abdelmalek on 29 Mar 2013

Example

A=num2cell(magic(5))
Col=3
A(:,col)

17 Comments

sarfudeen on 29 Mar 2013

meas is a cell array of type cell

Azzi Abdelmalek on 29 Mar 2013

In windows command type

whos meas

what did you get?

sarfudeen on 29 Mar 2013

Name = meas Size = 720x60 Bytes = 3112252 Class = cell Attributes =

Azzi Abdelmalek

Contact us