| Author |
Topic  |
|
|
oconnor
UK
Posts |
Posted - 02/21/2005 : 09:53:35 AM
|
Origin Version (Select Help-->About Origin): Operating System: WinXP
Hi,
Is there an easy way to get the mean of a section of a curve? I have taken a section of a curve with:
Curve cc0(crv0, nNumMissingInCopy, nSrcOffset, CURVECOPY_SKIP_MISSING_INSIDE, base_start, base_end);
and now I would just like to find the average of this section. Any ideas?
Thanks,
Rod. |
|
|
Mike Buess
USA
3037 Posts |
Posted - 02/21/2005 : 10:32:54 AM
|
Hi Rod,
Curve cc0(crv0, nNumMissingInCopy, nSrcOffset, CURVECOPY_SKIP_MISSING_INSIDE, base_start, base_end); BasicStats bsStat; Data_sum(&cc0, &bsStat); printf("mean=%f\n", bsStat.mean);
Mike Buess Origin WebRing Member |
 |
|
| |
Topic  |
|
|
|