help-octave
[Top][All Lists]

RE: Complex Conjugate

 From: Hall, Benjamin Subject: RE: Complex Conjugate Date: Wed, 15 Sep 2004 13:48:51 -0400

```Does this help? The actual commands are transpose (.') and ctranspose (')
and it sounds like you may need a combination of both?  (see last example)

octave:1> a = [1.2+3.2i 0+.2i; 2 2+2i]

a =

1.2000 + 3.2000i        0 + 0.2000i
2.0000             2.0000 + 2.0000i

octave:2> a'

ans =

1.2000 - 3.2000i   2.0000
0 - 0.2000i   2.0000 - 2.0000i

octave:3> a.'

ans =

1.2000 + 3.2000i   2.0000
0 + 0.2000i   2.0000 + 2.0000i

octave:4> (a').'

ans =

1.2000 - 3.2000i        0 - 0.2000i
2.0000             2.0000 - 2.0000i

-----Original Message-----
Sent: Wednesday, September 15, 2004 1:33 PM
Subject: Complex Conjugate

Is there a simple command that performs the complex
conjugate on a matrix containing complex variables?

I've been using "workaround" using real() and imag()

Couldn't find this anywhere.  Couldn't find any mention in
the html manual.

Also, how do you do a search for *any* word in the TOTAL
manual?  I've only been able to do a search per page
section.

- Robert -

-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------

-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------

```