help-octave
[Top][All Lists]
Advanced

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

Re: Complex numbers, format preferences, "j" rather than "i"


From: D Greig
Subject: Re: Complex numbers, format preferences, "j" rather than "i"
Date: Thu, 3 Dec 2015 22:51:27 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

On 03/12/15 22:34, Nicholas Jankowski wrote:
On Thu, Dec 3, 2015 at 5:11 PM, D Greig <address@hidden
<mailto:address@hidden>> wrote:

    Hi List,

    Is it possible to format the imaginary unit to j rather than i?
     >From an electronic background the preference is j.
    The documentation for Octave is good, but it is a preponderance to
    search thru.

    Thanks for any advice in advance!

    --
    Best Regards,
    D Greig

    "God is a comedian, playing to an audience that's too afraid to laugh"
    (Voltaire, aka François-Marie Arouet)

    "A pessimist sees the difficulty in every opportunity,
    an optimist sees the opportunity in every difficulty."
    (Winston Churchill)

    "Nothing is impossible, the word itself says 'I'm possible'!"
    (Audrey Hepburn)

    _______________________________________________
    Help-octave mailing list
    address@hidden <mailto:address@hidden>
    https://lists.gnu.org/mailman/listinfo/help-octave



As long as you haven't overwritten it as a variable, either i or j (and
I or J) are recognized as sqrt(-1).

 >> help j
Thanks Nicholas.

However
>> 1+1j
ans =  1 + 1i

1 + 1j would be preferable.

Used to have an HP-32C RPN calculator back in '75, cost a bunch of pocket money. Them thar and now are the days.

--
Best Regards,
D Greig



reply via email to

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