From Walloping Leech, 1 Year ago, written in GNU Octave M-file.
Embed
  1. #!/usr/bin/octave -qf
  2.  
  3. format short
  4.  
  5. load coord_raw.txt
  6.  
  7. rah = num2str(floor(coord_raw(:,1)),'%02d');
  8. ram = num2str(floor(coord_raw(:,2)),'%02d');
  9. rasec_ = round(coord_raw(:,3));
  10. dech = num2str(floor(coord_raw(:,4)),'%+03.0f');
  11. decm = num2str(floor(coord_raw(:,5)),'%03.0f');
  12. decsec_ = round(coord_raw(:,6));
  13.  
  14. rasec = num2str(rasec_,'%02d');
  15. decsec = num2str(decsec_,'%02d');
  16.  
  17. dectr = num2str( floor(coord_raw(:,5)) + coord_raw(:,6)./60 ,'%04.1f');
  18.  
  19.  
  20. M = [rah, ram, rasec, dech, dectr];
  21.  
  22. H = char(M)
  23.  
  24. dlmwrite('coord.tmp', H ,'delimiter','');
  25.  

captcha

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: codemirror_modes

Filename: view/view_footer.php

Line Number: 6

Backtrace:

File: /var/www/html/pastebin/htdocs/themes/stikkedizr/views/view/view_footer.php
Line: 6
Function: _error_handler

File: /var/www/html/pastebin/htdocs/application/core/MY_Loader.php
Line: 173
Function: include

File: /var/www/html/pastebin/htdocs/application/core/MY_Loader.php
Line: 44
Function: _ci_load

File: /var/www/html/pastebin/htdocs/themes/stikkedizr/views/view/view.php
Line: 114
Function: view

File: /var/www/html/pastebin/htdocs/application/core/MY_Loader.php
Line: 173
Function: include

File: /var/www/html/pastebin/htdocs/application/core/MY_Loader.php
Line: 44
Function: _ci_load

File: /var/www/html/pastebin/htdocs/application/controllers/Main.php
Line: 663
Function: view

File: /var/www/html/pastebin/htdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 1

Filename: geshi/geshi.php

Line Number: 3552

Backtrace:

File: /var/www/html/pastebin/htdocs/application/libraries/geshi/geshi.php
Line: 3552
Function: _error_handler

File: /var/www/html/pastebin/htdocs/application/libraries/geshi/geshi.php
Line: 2907
Function: parse_non_string_part

File: /var/www/html/pastebin/htdocs/application/libraries/Process.php
Line: 45
Function: parse_code

File: /var/www/html/pastebin/htdocs/application/models/Pastes.php
Line: 490
Function: syntax

File: /var/www/html/pastebin/htdocs/application/controllers/Main.php
Line: 656
Function: getPaste

File: /var/www/html/pastebin/htdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 1

Filename: geshi/geshi.php

Line Number: 3552

Backtrace:

File: /var/www/html/pastebin/htdocs/application/libraries/geshi/geshi.php
Line: 3552
Function: _error_handler

File: /var/www/html/pastebin/htdocs/application/libraries/geshi/geshi.php
Line: 2907
Function: parse_non_string_part

File: /var/www/html/pastebin/htdocs/application/libraries/Process.php
Line: 45
Function: parse_code

File: /var/www/html/pastebin/htdocs/application/models/Pastes.php
Line: 490
Function: syntax

File: /var/www/html/pastebin/htdocs/application/controllers/Main.php
Line: 656
Function: getPaste

File: /var/www/html/pastebin/htdocs/index.php
Line: 315
Function: require_once