[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
## Re: how to calculate mean for many files

**From**: |
Jaroslav Hajek |

**Subject**: |
Re: how to calculate mean for many files |

**Date**: |
Mon, 14 Dec 2009 12:43:26 +0100 |

On Mon, Dec 14, 2009 at 12:32 PM, febty febriani <address@hidden> wrote:
>* sorry for my post.*
>* I searched and found the problem. I used like below :*
>
>* a=["filename_folder"];*
>* filenames=cellstr(a);*
>* matrices=cellfun(@load, filenames, "UniformOutput", false);*
>* means=plus(matrices{:})/numel(matrices);*
>
>* I just found one error : Invalid call to plus.*
>
Calling plus with any number of arguments is only supported in 3.3.50+.
For earlier versions of Octave, you'll need to do the sum differently,
e.g. using cat and sum.
--
RNDr. Jaroslav Hajek
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz

**Re: how to calculate mean for many files**, *febty febriani*, `2009/12/14`
**Re: how to calculate mean for many files**, *Jaroslav Hajek*, `2009/12/14`
**Re: how to calculate mean for many files**, *febty febriani*, `2009/12/14`
**Re: how to calculate mean for many files**, *Jaroslav Hajek*, `2009/12/14`
**Re: how to calculate mean for many files**, *febty febriani*, `2009/12/14`
**Re: how to calculate mean for many files**,
*Jaroslav Hajek* **<=**
**Re: how to calculate mean for many files**, *Sergei Steshenko*, `2009/12/14`
**Re: how to calculate mean for many files**, *febty febriani*, `2009/12/15`
**Re: how to calculate mean for many files**, *Jaroslav Hajek*, `2009/12/15`
**Re: how to calculate mean for many files**, *febty febriani*, `2009/12/15`
**Re: how to calculate mean for many files**, *Jaroslav Hajek*, `2009/12/15`
**Re: how to calculate mean for many files**, *febty febriani*, `2009/12/15`
**Re: how to calculate mean for many files**, *Sergei Steshenko*, `2009/12/14`
**Re: how to calculate mean for many files**, *Sergei Steshenko*, `2009/12/14`

**Re: how to calculate mean for many files**, *Sergei Steshenko*, `2009/12/14`