Multiply array by X
Skargaemer
I'm not too familiar with IGOR syntax, how would I take a given array and multiply the whole thing by some constant?
Is this close?:
Duplicate wave1, wave2
wave2 = wave1 * 10
Display wave2
Thanks
Close, and it's the right way if you want a copy of the wave instead of just modifying the original. Here's a command that simply does it to the original:
wave1 *= 10
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
November 14, 2008 at 11:20 am - Permalink