I'd like to add some comments which may be of some help for you. The expression andyfaff posted can be used in functions like:
Function Substact(a,b) Wave a,b
a = a - b End
You can do a simple assignment in the command window to achieve the same by typing this:
a = a - b
or shorter
a -= b
Note that this subtraction method doesn't make use of you eventual wave scaling.
I recommend that you read more about this in the 'Waveform Arithmetic and Assignments' chapter in the manual.
a - b
February 8, 2012 at 11:25 am - Permalink
Wave a,b
a = a - b
End
You can do a simple assignment in the command window to achieve the same by typing this:
a = a - b
or shorter
a -= b
Note that this subtraction method doesn't make use of you eventual wave scaling.
I recommend that you read more about this in the 'Waveform Arithmetic and Assignments' chapter in the manual.
February 8, 2012 at 02:04 pm - Permalink