[Scilab-users] lack of simplification for rational

Tim Wescott tim at wescottdesign.com
Wed Nov 23 21:42:05 CET 2016


Correction:

p=poly(ones(1,n),"x","r");  // Note 'r', not 'c'
r=roots(p)
plot(real(r)-1,imag(r),"+")

And my yes, it does illustrate the problem quite well.

On Wed, 2016-11-23 at 21:20 +0100, Serge Steer wrote:
> p=poly(ones(1,n),"x","c");
> r=roots(p)
> plot(real(r)-1,imag(r),"+")

-- 

Tim Wescott
www.wescottdesign.com
Control & Communications systems, circuit & software design.
Phone: 503.631.7815
Cell:  503.349.8432





More information about the users mailing list