[Jprogramming] Frensel plot
Raul Miller
rauldmiller at gmail.com
Thu Jul 20 06:16:59 UTC 2017
load'plot'
plot ((2&o.@*:t.i.100)&p.d._1;(1&o.@*:t.i.100)&p.d._1) 1p1*i:1j1000
This has two domain error workarounds which might interest people.
First, i:1p1j1000 does not work, but 1p1*i:1j1000 does. In other
words, i: has a gaussian integer domain (perhaps because that is
simpler to document) even though it might make sense to allow the real
part to be non-intger when the complex part is non-zero.
Second, expressions such as 1&o.@*:d._1 do not work, but
(1&o.@*:t.i.100)&p.d._1 does. In other words taylor series polynomials
can sometimes be a workaround for d. domain issues.
(Finally, note that plot ;/|:+.(^@j.@*:t.i.100)&p.d._1] 1p1*i:1j1000
gives a similar plot, but that transform is quirky for me to explain.)
Thanks,
--
Raul
More information about the Programming
mailing list