How to change column (wave) data value for a certian range (row index)
supra
If the waves ( say wave0 and wave1) has 100 data row(index) each ...
a) I like to subtract 5 from each data points of wave 0 from row index 4 to 40
b) Also I like to subtract (wave0- wave1) for the range 4 to 40 (row index)
c) Is there any GUi available to do this ?
DisplayHelpTopic "Waveform Arithmetic and Assignment"
Is there really a space in the name "wave 0"? That complicates typing... I will assume there is...
'wave 0'[4,40] -= 5
Now there is no space. You need to be careful of that. "wave 0" and "wave0" are two different names. The presence of a space in the name requires the use of the single quotes around the name, so you're better off not having the space.
wave0[4,40] -= wave1
You might look at Analysis->Compose Expression, but it doesn't support the subrange syntax on the left hand side of the assignment. I think most people find it's easier just to type the assignments on the command line.
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
January 25, 2012 at 09:18 am - Permalink
Athanks again
January 25, 2012 at 09:35 am - Permalink