MATLAB Answers

sarfudeen

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

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 =


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today