Support for j, 1i and 1j?

8 views
Skip to first unread message

Dave

unread,
Feb 12, 2013, 3:21:34 PM2/12/13
to scalalab-...@googlegroups.com
Hi,
I was playing with scalalab and it looks great.
Is there also support for j as alias for i in scalalab?
Electrical engineers use j instead of i because i is already used for current.
The form 1i and 1j (or 5i and 5j) are also alias expressions to use i in Octave and Matlab in case that i and j are used as variable.

In Octave I can
octave:1> i
ans =  0 + 1i
octave:2> j
ans =  0 + 1i
octave:3> 1 + j
ans =  1 + 1i
octave:4> 1 + i
ans =  1 + 1i
octave:6> 1i
ans =  0 + 1i
octave:7> 1j
ans =  0 + 1i
octave:8> i = 1
i =  1
octave:9> 1 + i
ans =  2
octave:10> 1 + 1i
ans =  1 + 1i


Reply all
Reply to author
Forward
0 new messages