How to return a row number of 2D wave ?
Jinhyung Kim
I attached a captured image.
In procedure, I put 'i<= 145' and 'j<=120' because the wave has 146 rows and 121 columns.
But, I want to put the command returning a row (or column) number in for loop.
Advise me, please.
Thank you.
For(j=0;j<DimSize(wavH_imag,1);j+=1)
Hope this helps,
Kurt
February 16, 2014 at 11:54 pm - Permalink
It work!
Thank you very much :)
February 17, 2014 at 12:47 am - Permalink
You'll get better speed performance if you pre-calculate the limits like so:
Variable jmax= DimSize(wavH_imag,1)
For(i=0;i<imax;i+=1)
For(j=0;j<jmax;j+=1)
Larry Hutchinson
WaveMetrics
support@WaveMetrics.com
February 18, 2014 at 04:04 pm - Permalink