Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commiteae5a9b

Browse files
authored
Update README.md
1 parent2622e09 commiteae5a9b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

‎README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,19 @@ In the js directory open sgp4.html in a browser to view the results. Calling ja
5050

5151
Typical errors r = 0.006722036443346485 mm, v = 0.00048120408916018905 mm/s
5252

53+
#LibreOffice Basic
54+
The first implementation of SGP4 I ever wrote was in VBA in Excel. I did the implementation by converting a printout of the SpaceTrack Report#3 FORTRAN code to VBA as I typed it in. I don't have Excel on my dev laptop, so I ported the C version of code to LibreOffice Basic. Very little documentation for this language exists (compared to other languages). I was able to implement a set of macros in a Calc spreadsheet. Most users will want to use the parseLines and getRV macros in the TLE module. To verify the code with the standard test cases run the Main macro in the TestSGP4 module. The velocity errors are similar to other languages. However the position errors are about five times greater. I'm not sure why that is, but many of the data types in Basic have a limited restriction compared to the other languages.
55+
56+
Typical errors
57+
58+
3.33434E-02mm
59+
60+
4.80742E-04mm/s
61+
62+
5363
#Matlab/Octave
5464
The code has been tested with Matlab 7.9.1
65+
5566
ans =
5667
Typical errors r=6.721676E-03 mm v=4.812042E-04 mm/s
5768

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp