help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How does size() work?


From: Jonathan Margoliash
Subject: How does size() work?
Date: Tue, 19 Jun 2012 15:04:46 -0500

Hello octave support,

A quick question from a confused user: I execute the following code:

CorrectionData = {"1977:3.7423:6.5548" "1978:6.7854:9.6075"};
disp(size(CorrectionData));

And I get the output:

   1   2

Why isn't correction data treated as a 1-dimensional cell array? And even if it's been treated as a 2-dimensional cell array, why is the row second? Thanks!

Jonathan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]