help-octave
[Top][All Lists]
Advanced

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

Re: Summing elements in an array


From: Jaroslav Hajek
Subject: Re: Summing elements in an array
Date: Thu, 15 Jul 2010 11:59:22 +0200

On Thu, Jul 15, 2010 at 11:47 AM, dirac <address@hidden> wrote:
>
> Hi,
>
> I am wanting to sum the first 1000 elements in a matrix I have defined.
> Initially I want to perform it on one column, but then move to performing
> the calculation over all 20 columns. Is there a way to do this as I am
> having great difficulty using for loops for this.
>

help sum


> Another question is if three nested for loops for analyzing a 210000 element
> array is going to be slow...
>

INSUFFICIENT DATA FOR A MEANINGFUL ANSWER (I. Asimov).


> Thanks in advance.
>
> Martin
>
> -----
> Converting myself from Excel to Octave for reasons I hope to find out.
> --
> View this message in context: 
> http://octave.1599824.n4.nabble.com/Summing-elements-in-an-array-tp2289902p2289902.html
> Sent from the Octave - General mailing list archive at Nabble.com.
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>



-- 
RNDr. Jaroslav Hajek, PhD
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz


reply via email to

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