"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..
Code:
double zz=((TotalLineCount*(TotalLineCount+1))/((TotalLineCount-1)*(TotalLineCount-2)*(TotalLineCount-3))*(kurtbr))-((3*(TotalLineCount-1)*(TotalLineCount-1))/ (TotalLineCount-2)*(TotalLineCount-3));
*kurtbr is already been calculated by an expression. and now,
how do we create the loop to do it every five values.
ive tried this:
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;
}
}
is there a simpler technique?
regards
dhilip
Re: "at regular intervals" problem
Re: "at regular intervals" problem
Quote:
Originally Posted by
DarrylBurke
Don't misuse polls.
db
ok soz. did u understand my thread? :P
regards
dhilip