Hello there, I have this text
2.10 NAVIGATION DATA RINEX VERSION / TYPESPIDER V4,3,0,4633 NACLR 2013 03 13 00:04 PGM / RUN BY / DATE 2.1420D-08 7.4506D-09 -1.1921D-07 0.0000D+00 ION ALPHA 1.2288D+05 0.0000D+00 -2.6214D+05 1.9661D+05 ION BETA 4.656612873077D-09 1.687538997430D-14 503808 1731 DELTA-UTC: A0,A1,T,W16 LEAP SECONDS END OF HEADER
I want to store in a matrix [2 x 4] the values from line 3 and 4..I have made this function but it only works for one line (line 3):
function [ephe] = readRINEXnav()[file,path] = uigetfile('*.**n'); fid = fopen(strcat(path,file),'r');for tline=1:3tline = fgets(fid);Iono_alpha=[str2num(tline(3:13)) str2num(tline(15:25)) str2num(tline(26:37))... str2num(tline(39:49))];endend
I know it is rudimentary, I'm still learning.
Best Answer