WaveStats
pczjrh
Is there anyway of collecting wavestats from a single column?
I have seen the ranges option with /R=(Start,End).
I tend to store my results as a single table, eg Results(a,d)
I would like to find the wavestats for cols a,b,c,d etc independently.
Thanks in advance for any help,
Jason.
my experience is that wavestats treats every wave as being 1D. So you can think of a 5x4 matrix as a 20x1 wave. With this in mind the answer of your question is: Yes, you can. If you want to get wavestats for the second column of this 5x4 matrix just call
wavestats/r=[5,9] matrix
.But nevertheless it would be a great improvement if Wavemetrics would make wavestats multidimension aware.
Andreas
July 1, 2010 at 08:24 am - Permalink
Short of using the /R flag to specify the range of a column in WaveStats, I'd recommend using:
MatrixOP/Free aa=col(inWave,colNum)
WaveStats aa
Obviously if you only need one of the statistical moments you might be better off not using WaveStats. For example:
MatrixOP/O aa=VarCols(inWave)
or
MatrixOP/O aa=SumCols(inWave)/numRows(inWave),
etc.
A.G.
WaveMetrics, Inc.
July 1, 2010 at 12:05 pm - Permalink
Thanks for the help,
Jason.
July 4, 2010 at 03:18 pm - Permalink