Find Docs

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

Wodocs >> Science : Astronomy >> Astronomical Applications Department, U.S. Naval Observatory Linear Least Squares Page 16
Astronomical Applications Department, U.S. Naval Observatory - Linear Least Squares
16 T
2
2
S
0
2
4 T
2
2
S
1
2
4 T
3
2
S
0
2
T
3
2
S
1
2
8 S
2
N T
2
S
0
4 T
3
2
S
2
2
16 S
0
2
T
4
2
+
+
+
+
-
+
+
4 S
1
2
T
4
2
+




2
_Z
+


leastsqrs[31]: Solution 3 substituted into normal eqs
8
( )
cos
2
T
0
8
( )
cos
2
T
1
16
( )
cos
( )
sin
T
2
2
( )
cos
2
N 8
( )
cos
( )
sin
T
3
-
-
+
+
(
[
8
( )
sin
2
T
4
+
) A 4
( )
cos
S
0
2
( )
cos
S
1
4
( )
sin
S
2
-
+
+
0
=
2
( )
cos
( )
sin
N
-
(
,
8
( )
cos
( )
sin
T
0
4
( )
cos
2
T
3
8
( )
cos
2
T
2
8
( )
cos
( )
sin
T
4
8
( )
cos
( )
sin
T
1
-
+
-
+
+
4
( )
sin
2
T
3
8
( )
sin
2
T
2
-
+
) A2 (
)
-
+
+
2
( )
sin
S
1
4
( )
cos
S
2
4
( )
sin
S
0
A
+
0
=
]
leastsqrs[31]: Throwing out solution 3
leastsqrs[31]: Done!




,
=
A 0
=
+




arctan
1
2
-
2 S
0
S
1
S
2
_Z
As we can see,
=
Y A
(
)
cos
+
2
t
i
is not a particularly good choice of representation, since the
solution involves inverse trigonometric functions and is particularly useless (
=
A 0
). The next,
equivalent, example leads to a useful solution.
Sinusoid -- Representation 2
:=
printlevel
2
(
)
leastsqrs
, , ,
=
Y
+
A
(
)
cos 2
t
i
B
(
)
sin 2
t
i
t i [
]
,
A B
leastsqrs[0]: normal equations
=
+
-
+
(
)
-
+
+
8 T
1
2 N 8 T
0
A (
)
-
+
4 T
3
8 T
2
B 4 S
2
2 S
0
0
=
-
+
(
)
-
+
4 T
3
8 T
2
A 4 S
1
8 B T
4
0
leastsqrs[0]: Solving the normal equations...
leastsqrs[1]: substitution list
4


=
i 1
N
(
)
cos
t
i
4


=
i 1
N
(
)
sin
t
i
2
(
)
cos
t
i
2
=

4


=
i 1
N
(
)
cos
t
i
2


=
i 1
N
(
)
sin
t
i
2
(
)
cos
t
i
2
N


=
i 1
N
(
)
sin
t
i
2
(
)
cos
t
i
2
-
+
4


=
i 1
N
(
)
cos
t
i
3
(
)
sin
t
i
2
-
Page 16

<< Previous       1 .. 9 10 11 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)