You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -50,8 +50,19 @@ In the js directory open sgp4.html in a browser to view the results. Calling ja
50
50
51
51
Typical errors r = 0.006722036443346485 mm, v = 0.00048120408916018905 mm/s
52
52
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
+
53
63
#Matlab/Octave
54
64
The code has been tested with Matlab 7.9.1
65
+
55
66
ans =
56
67
Typical errors r=6.721676E-03 mm v=4.812042E-04 mm/s