1

次のような行を含むファイルがあります (最初の 2 行はそれぞれ 25 列です)。

  1921.300       .      .    <  0.030     .         .     .       .     .     550        1.6   1 Mrr1922  Jm   5  
  1973.220    158.     3.       0.240    0.002      .     .      1.5   0.5    620        5.1   1 Lab1974  S    4   

および説明 (例として最初の 4 列):

term       columns   format   description   
date       008-017   f10.5    Observation date, in years.    
tflag      019-019   a1       Flag for theta (position angle) measure. Flags 
                          include:
                          : = uncertain/estimated (old code U)
                          L = originally published as nf, sp, etc. 
                              (old code L)
                          Q = quadrant flipped 180deg from published value 
                              (old code Q)
                          V = measure is vector separation along this angle 
                              vector (previously used only in 
                              interferometric catalog)  
theta      020-026   f7.3     position angle, in degrees  
terr       028-033   f6.3     published formal theta error, in degrees  

etc.

-----------------------------------------------------------------------------

このファイルを Matlab で読むには? 区切り文字はありません (位置と形式のみ)。基本的な考え方は、SQLite データベースでこのファイルを読み取ることですが、(私が正しければ) SQLite は区切り記号でしか機能しません。

4

0 に答える 0