[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Loading complex variables???
From: |
Henry F. Mollet |
Subject: |
Re: Loading complex variables??? |
Date: |
Wed, 16 Nov 2005 18:32:41 -0800 |
User-agent: |
Microsoft-Entourage/11.1.0.040913 |
I'm resending this as I have octave-forge installed:
octave:4> help complex
complex is the user-defined function from the file
/usr/local/share/octave/2.1.71/site/m/octave-forge/general/complex.m
GNU Octave, version 2.1.71 (powerpc-apple-darwin8.1.0).
octave:1> zmcr=4
zmcr = 4
octave:2> zmci=5
zmci = 5
octave:3> zmc=complex(zmcr,zmci)
zmc = 4 + 5i
Works on my 'home' computer.
Henry
on 11/16/05 2:28 PM, Larry Blodgett at address@hidden wrote:
> 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
> -------------------------------------------------------------
>
-------------------------------------------------------------
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
-------------------------------------------------------------