comparison scripts/polynomial/compan.m @ 10793:be55736a0783

Grammarcheck the documentation from m-files.
author Rik <octave@nomad.inbox5.com>
date Sun, 18 Jul 2010 20:35:16 -0700
parents f6e0404421f4
children 693e22af08ae
comparison
equal deleted inserted replaced
10792:91342260063e 10793:be55736a0783
32 ## \vdots & \vdots & \ddots & \vdots & \vdots \cr 32 ## \vdots & \vdots & \ddots & \vdots & \vdots \cr
33 ## 0 & 0 & \cdots & 1 & 0}\right]. 33 ## 0 & 0 & \cdots & 1 & 0}\right].
34 ## $$ 34 ## $$
35 ## @end tex 35 ## @end tex
36 ## @ifnottex 36 ## @ifnottex
37 ##
38 ## @c Set example in small font to prevent overfull line 37 ## @c Set example in small font to prevent overfull line
39 ## @smallexample 38 ## @smallexample
39 ## @group
40 ## _ _ 40 ## _ _
41 ## | -c(2)/c(1) -c(3)/c(1) @dots{} -c(N)/c(1) -c(N+1)/c(1) | 41 ## | -c(2)/c(1) -c(3)/c(1) @dots{} -c(N)/c(1) -c(N+1)/c(1) |
42 ## | 1 0 @dots{} 0 0 | 42 ## | 1 0 @dots{} 0 0 |
43 ## | 0 1 @dots{} 0 0 | 43 ## | 0 1 @dots{} 0 0 |
44 ## A = | . . . . . | 44 ## A = | . . . . . |
45 ## | . . . . . | 45 ## | . . . . . |
46 ## | . . . . . | 46 ## | . . . . . |
47 ## |_ 0 0 @dots{} 1 0 _| 47 ## |_ 0 0 @dots{} 1 0 _|
48 ## @end group
48 ## @end smallexample 49 ## @end smallexample
49 ## @end ifnottex 50 ## @end ifnottex
50 ## 51 ##
51 ## The eigenvalues of the companion matrix are equal to the roots of the 52 ## The eigenvalues of the companion matrix are equal to the roots of the
52 ## polynomial. 53 ## polynomial.