Complex Conjugate of a Function

Thomas Markovich thomasmarkovich at gmail.com
Wed Oct 8 15:24:43 CDT 2008


Hi,

I am using octave and I am trying to find the probability current of  
of a set of wave functions. To do this though, I get

(¥*) d/dx(¥) - ¥(d/dx(¥*))

I have tried to use both functions, conj and ' to find the conjugate  
but octave gives me the following error.

octave-3.0.2:59> conj(b(x))
ans =

  Columns 1 through 6:

    0.792789 - 0.000000i   0.521003 - 0.044985i   0.361599 -  
0.061587i   0.263736 - 0.026430i   0.163356 + 0.047835i   0.013050 +  
0.086010i

  Columns 7 through 12:

   -0.173588 + 0.028121i  -0.377793 - 0.064103i  -0.673954 -  
0.079818i  -1.212822 - 0.014479i  -2.150759 + 0.048640i  -3.688296 +  
0.059676i

  Column 13:

   -6.190114 + 0.027294i

error: conj: argument undefined

Any help would would be much appreciated.

Thomas Markovich
Undergraduate Research Assistant
University of Houston


More information about the Help-octave mailing list