comparison scripts/plot/compass.m @ 11363:a0dfd7e8e3e2

Assign data used in demo plots for reproducibility between runs
author Rik <octave@nomad.inbox5.com>
date Tue, 14 Dec 2010 17:27:19 -0800
parents be55736a0783
children fd0a3ac60b0e
comparison
equal deleted inserted replaced
11362:456752abad08 11363:a0dfd7e8e3e2
108 retval = hlist; 108 retval = hlist;
109 endif 109 endif
110 110
111 endfunction 111 endfunction
112 112
113
113 %!demo 114 %!demo
114 %! a = toeplitz([1;randn(9,1)],[1,randn(1,9)]); 115 %! randn_9x1_data = [-2.555884; 0.394974; -0.191871; -1.147024; 1.355425; -0.437335; -0.014370; -0.941312; 1.240300];
115 %! compass (eig (a)) 116 %! randn_1x9_data = [1.42934, -1.10821, -1.70404, 0.63357, -0.68337, -1.19771, -0.96502, -1.12810, 0.22457];
117 %! a = toeplitz ([1;randn_9x1_data], [1,randn_1x9_data]);
118 %! compass (eig (a));
119