WAVE for a 2D wave?
isend
Function (wave2D)
WAVE wave2D
....etc.
But this does not allow me to use two dimension parameters wave2D[i,j] when I try to write some "for" and "if" language in my Function. It allows only one dimension parameter. If WAVE is a wrong definition for my wave2D, what is the correct one?
Thank you,
The correct notation for a 2D wave is illustrated below.
wave ww
// ....
variable a, b, c
// get the 0,4 value
a = ww[0][4]
// transfer ten row values at column index 3 to a different wave
make/O/N=10 yy
yy = ww[p][3]
// ....
end
--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAH
September 29, 2009 at 02:19 pm - Permalink
DisplayHelpTopic "Multidimensional Waves"
DisplayHelpTopic "Multidimensional Wave Indexing"
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
October 2, 2009 at 10:43 am - Permalink