repo.or.cz
/
wrf-fire-matlab.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Simplify hexa further, using inv3 in module_lin_alg
[wrf-fire-matlab.git]
/
detect_ignition
/
test_ellipse.m
blob
a4a2fee4aa00297296ee07fb4da1762c48f67fb6
1
clear
\r
2
\r
3
% s = [2 2];
\r
4
% x = rand(13,1);
\r
5
% y1 = normrnd(s(1).*x,1);
\r
6
% y2 = normrnd(s(2).*x,1);
\r
7
\r
8
a = 5;
\r
9
y1 = a*rand(20,1);
\r
10
y2 = a*rand(20,1);
\r
11
\r
12
\r
13
data = [y1 y2];
\r
14
ci = 2.4;
\r
15
\r
16
ellipse_fit(data,ci)