-
Notifications
You must be signed in to change notification settings - Fork 1
/
debug5.m
18 lines (18 loc) · 1.04 KB
/
debug5.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
% debug5.m
fprintf(dbgfile, '%85s\n',...
' ------------------after initl :---------------');
fprintf(dbgfile, ' inputs : \n');
fprintf(dbgfile, '%7s%15d%7s%15s%7s%15.9f%7s%15.9f%7s%15.9f\n',...
'satn', satn, 'yr', ' ', 'ecco', ecco, 'epoch', epoch, 'inclo', inclo);
fprintf(dbgfile, ' in/out : \n');
fprintf(dbgfile, '%7s%15.9f\n', 'no', no);
fprintf(dbgfile, ' outputs : \n');
fprintf(dbgfile,...
'%7s%15s%7s%15.9f%7s%15.9f%7s%15.9f%7s%15.9f%7s%15.9f\n',...
'method', method, 'ainv', ainv, 'ao', ao, 'con41', con41,...
'con42', con42, 'cosio', cosio);
fprintf(dbgfile, '%7s%15.9f\n', 'cosio2', cosio2);
fprintf(dbgfile, '%7s%15.9f%7s%15.9f%7s%15.9f%7s%15.9f%7s%15.9f%7s%15.9f\n',...
'einv', einv, 'eccsq', eccsq, 'omeosq', omeosq,...
'posq', posq, 'rp', rp, 'rteosq', rteosq);
fprintf(dbgfile, '%7s%15.9f%7s%15.9f\n', 'sinio', sinio, 'gsto', gsto);