
Complex Wave wavestats

ysspatil
For example,
function wStatsC()
make/C/n=100 cWave=cmplx(gnoise(1),gnoise(10))
wavestats cWave
end
outputs only the wavestats of the real part of cWave.
Defining new waves for the real and imaginary parts is time intensive.
An inbuilt function to access the real and imaginary parts would be much faster?
function wStatsC()
make/C/n=100 cWave=cmplx(gnoise(1),gnoise(10))
wavestats cWave //for Real part
wavestats/c=2 cWave //for Imaginary part
end
More functionality found in Help for WaveStats.
August 22, 2016 at 04:11 pm - Permalink