help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Loading complex variables???


From: Larry Blodgett
Subject: Loading complex variables???
Date: Wed, 16 Nov 2005 16:28:09 -0600

At my work I can perform the following operations.

octave:1> zmcr=4
zmcr = 4
octave:2> zmci=5
zmci = 5
octave:3> zmc=complex(zmcr,zmci)
zmc = 4 + 5i

This complex notation is not in the book but it works (am I wrong?).
At my home octave does not accept the complex statement.

I had to use         zmc=zmcr+j*zmci

I believe I have the same version of octave.

GNU Octave, version 2.1.71 (powerpc-apple-darwin7.9.0).
Copyright (C) 2005 John W. Eaton.


Larry Blodgett
address@hidden



-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]