[Top][All Lists]

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

Re: how to calculate mean for many files

From: Sergei Steshenko
Subject: Re: how to calculate mean for many files
Date: Mon, 14 Dec 2009 09:04:02 -0800 (PST)

--- On Mon, 12/14/09, Jaroslav Hajek <address@hidden> wrote:

> From: Jaroslav Hajek <address@hidden>
> Subject: Re: how to calculate mean for many files
> To: "febty febriani" <address@hidden>
> Cc: address@hidden
> Date: Monday, December 14, 2009, 2:46 AM
> On Mon, Dec 14, 2009 at 10:05 AM,
> febty febriani <address@hidden>
> wrote:
> > thank you for your quick response.
> > I tried to do what your advice is. I replaced this:
> "filenames = # cell
> > array of strings" with the folder name where I put
> data. But, I met error :
> > parse error: syntax error.
> > Are there still problems?
> >
> By that line I meant that you first need to assemble a cell
> array of
> strings containing the filenames of your data files. If
> they all are
> in the same directory having similar names, you can
> probably use glob
> or something similar to get these.
> Sorry, I am just a mathematician, not a magician, so I
> cannot
> telephatically discover what the layout of your data is.
> -- 
> RNDr. Jaroslav Hajek
> computing expert & GNU Octave developer
> Aeronautical Research and Test Institute (VZLU)
> Prague, Czech Republic
> url:
> _______________________________________________

Adding to Jaroslav's reply - array is a set of items of the same nature, i.e. 
array typically assumes "many".

Folder name is scalar, i.e. not many (like in the array), but single/one/1.

So, first of all, the difference between array and scalar should be 



reply via email to

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