
Multiple Wave Operation

xavsd
I'm trying to make the following arithmetic operation to 1500 waves, using Igor:
DFS_500_0001Defl = (-1)*DFS_500_0001Defl
All of the waves have the same name, except for the number XXXX, ie., DFS_500_XXXXDefl.
Do you know if there's any generic way to apply this operation to 1500 waves, without needing to type 1500 times the operation changing the number of the wave?
Hope you answer to me soon, thanx
xavier
Open up a procedure window (eg. the built in procedure window, which you can get by pressing Ctrl-M) and past the following function into the window:
Then, from the Igor command window, type:
foo()
and hit enter.
March 17, 2008 at 11:52 am - Permalink
March 18, 2008 at 03:16 am - Permalink
--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAH
March 18, 2008 at 02:52 pm - Permalink