
Generation of complex wave: How?

imksh2000
y = a * exp (-i * x)
As we know, the above equation can be divided into real and imaginary parts but they are too complicated to write down.
Is there any useful function to generate a complex wave not in real and imaginary parts form but single equation like the above?
FYI, the final form that I want is conjugate of the above (e.g. conj(y) = a * exp (i*x)
Make a complex wave using Make/C and a complex variable with Variable/C.
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
September 28, 2015 at 03:30 pm - Permalink
Another question. Should I define variable i = sqrt(-1) for the use of imaginary number?
September 28, 2015 at 04:38 pm - Permalink
Variable/C ci = sqrt(-1)
orVariable/C ci=cmplx(0,1)
Don't forget the /C flag on the Variable declaration!John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
September 28, 2015 at 05:17 pm - Permalink