Find Docs

Astronomical Applications Department, U.S. Naval Observatory - Linear Least Squares (Page 19)

Wodocs >> Science : Astronomy >> Astronomical Applications Department, U.S. Naval Observatory Linear Least Squares Page 19
Astronomical Applications Department, U.S. Naval Observatory - Linear Least Squares
:=
t1
(
)
sum
,
[ ]
Y i
=
i
..
1 N ;
:=
t2
(
)
sum
,
^
(
)
ln [ ]
t i
2
=
i
..
1 N ;
:=
t4
(
)
sum
,
(
)
ln [ ]
t i
=
i
..
1 N ;
:=
t5
(
)
sum
,
(
)
ln [ ]
t i
[ ]
Y i
=
i
..
1 N ;
:=
t8
^
t4 2;
:=
t11
/
(
)
1
- +
t8
t2 N ;
:=
[ ]
tmp 1
(
)
-
t2 t1
t4 t5 t11;
:=
[ ]
tmp 2
(
)
-
t5 N
t1 t4 t11;
tmp
end
Exponential




leastsqrs
, , ,
=
Y
+
A B e
t
i
t i [
]
,
A B
leastsqrs[0]: normal equations
=
-
+
+
2 S
0
2 A N 2 B T
0
0
=
-
+
+
2 S
1
2 A T
0
2 B T
1
0
leastsqrs[0]: Solving the normal equations...
leastsqrs[0]: substitution list
=
-
+


=
i 1
N
e
t
i
2


=
i 1
N




e
t
i
2
N
=
S
0
=
i 1
N
Y
i
=
T
0
=
i 1
N
e
t
i
=
S
1
=
i 1
N
e
t
i
Y
i
,
,
,
,

=
T
1
=
i 1
N




e
t
i
2

leastsqrs[0]: Verifying the solution...


,
=
A
-
S
0
T
1
T
0
S
1
=
B
-
S
1
N T
0
S
0
(
)
eval
,
% _subslist
=
A
-


=
i 1
N
Y
i


=
i 1
N




e
t
i
2


=
i 1
N
e
t
i


=
i 1
N
e
t
i
Y
i
-
+


=
i 1
N
e
t
i
2


=
i 1
N




e
t
i
2
N
,

Page 19

<< Previous       1 .. 12 13 14 15 16 17 18 19 20 21 22       Next >>



Other Documents:
Sensitivity Integral, 3 D plot fits, lyap2, NAO 150, Rotate Vector, lyapcalc, wedges, Scifull, Precession Memo, Precession Maple, Curves 3 D, NOVAS 2004 Overview, NOVAS 2006 Overview, thesis, Ranson,


WODocs | |
All rights reserved. wodocs.com© 2009
WODocs


New Docs

Documents Category:
Arts (Design, Movies, Music, Radio, Television)
Automotive (Cars, Marine, Motorcycle, ATV, Snowmobiles)
Business (Biotechnology and Pharmaceuticals, Chemicals, Construction and Maintenance, Materials, Real Estate, Services)
Electronics (Computers, Motion Control, Power Supply)
Games (Board, Family, Party, Card, Construction, RC Toys)
Health (Animalm, Beauty, Healthcare, Medicine, Pharmacy, Surgery, Weight Loss)
Home (Accessories, Cooking, Decor and Design, Electrical, Family, Pets)
News (Newspapers, Sports, Television)
Recreation (Collecting, Hiking, Scouting, Survival, Travel)
Reference (Education, Libraries and Archives, Museums)
Science (Agriculture, Astronomy, Biology, Chemistry)
Shopping (Antiques and Collectibles, Clothing, Flowers, Food, Home and Garden)
Sports (Bicycle, Snowboard, Skiing, Other)