dividing a wave by a wave

Hi,

Duplicate 'Wave1','NorDiff';'NorDiff'=('Wave1'-'Wave2')/('Wave1'+'Wave2')

Did not work, where Wave1 and Wave2 were created by subtracting a constant from a previously loaded wave. Can anyone please explain why? and how to do it?

Thanks in advance
Somnath
What does "Did not work" mean? Did you get an error message? If so, what was it? Did it simply result in what you think is an incorrect result? Please post your Igor experiment file containing the waves and a better description of the problem.

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
Hi,

I figured it out myself. The problem was some of the numbers in the wave was zero and while dividing it simply stored NAN and thus it was not showing in the plot in the data browser.
Thanks anyway.

Best regards
Somnath