comparison scripts/polynomial/poly.m @ 2312:204cc7db6f4a

[project @ 1996-07-11 21:20:36 by jwe]
author jwe
date Thu, 11 Jul 1996 21:20:36 +0000
parents 2b5788792cad
children 5ca126254d15
comparison
equal deleted inserted replaced
2311:2b5788792cad 2312:204cc7db6f4a
24 ## polynomial of A. 24 ## polynomial of A.
25 ## 25 ##
26 ## If x is a vector, poly (x) is a vector of coefficients of the 26 ## If x is a vector, poly (x) is a vector of coefficients of the
27 ## polynomial whose roots are the elements of x. 27 ## polynomial whose roots are the elements of x.
28 28
29 ## Author: KH <Kurt.Hornik@neuro.tuwien.ac.at>
30 ## Created: 24 December 1993
31 ## Adapted-By: jwe
32
29 function y = poly (x) 33 function y = poly (x)
30
31 ## Written by KH (Kurt.Hornik@neuro.tuwien.ac.at) Dec 24, 1993.
32 34
33 if (nargin != 1) 35 if (nargin != 1)
34 usage ("poly (x)"); 36 usage ("poly (x)");
35 endif 37 endif
36 38