Results 1 to 3 of 3
Thread: "at regular intervals" problem
- 03-17-2012, 11:10 AM #1
"at regular intervals" problem
ive a notepad of 'n' lines, each value in an array xArray[n]
now I've to find out "kurtosis" for every 5 values of 'n'
(for example, kurtosis(first 5 values), kurtosis(next 5 values), etc)
*kurtosis is a formula which can be written in an expression..
*kurtbr is already been calculated by an expression. and now,Java Code:double zz=((TotalLineCount*(TotalLineCount+1))/((TotalLineCount-1)*(TotalLineCount-2)*(TotalLineCount-3))*(kurtbr))-((3*(TotalLineCount-1)*(TotalLineCount-1))/ (TotalLineCount-2)*(TotalLineCount-3));
how do we create the loop to do it every five values.
ive tried this:
is there a simpler technique?Java Code:for(int j=0;j<(n);j=j+5) { for(int k=j+0;k<j+5;k++) { double[] zz = /**the formula mentioned earlier**/ z1; } }
regards
dhilipLast edited by noobplus; 03-17-2012 at 12:24 PM.
- 03-17-2012, 12:28 PM #2
Re: "at regular intervals" problem
Don't misuse polls.
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 03-17-2012, 12:35 PM #3
Re: "at regular intervals" problem
Last edited by noobplus; 03-17-2012 at 12:39 PM.
Similar Threads
-
Regular expression for alphanumeric characters containing space ,"_" and "-"
By dpkcv in forum Advanced JavaReplies: 2Last Post: 10-03-2011, 06:22 PM -
Regular expressions checking, by the format "*,txt",ab* etc'
By liran in forum Advanced JavaReplies: 23Last Post: 04-18-2010, 09:35 PM -
problem with argument list and precedence "(" and ")"
By helpisontheway in forum Advanced JavaReplies: 6Last Post: 12-24-2009, 07:50 AM -
the dollar sign "$", prints like any other normal char in java like "a" or "*" ?
By lse123 in forum New To JavaReplies: 1Last Post: 10-20-2008, 07:35 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks