Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
GRABDATA.M
Package: easy.zip [view]
Upload User: sfyaiting
Upload Date: 2009-10-25
Package Size: 320k
Code Size: 1k
Category:
GPS develop
Development Platform:
Matlab
- function Obs = grabdata(fid, NoSv, NoObs)
- %GRABDATA Positioned in a RINEX file at a selected epoch
- % reads observations of NoSv satellites
- %Kai Borre 09-13-96
- %Copyright (c) by Kai Borre
- %$Revision: 1.0 $ $Date: 1997/09/23 $
- global lin
- Obs = zeros(NoSv, NoObs);
- if NoObs <= 5 % This will typical be Turbo SII data
- for u = 1:NoSv
- lin = fgetl(fid);
- for k = 1:NoObs
- Obs(u,k) = str2num(lin(2+16*(k-1):16*k-2));
- end
- end
- else % This will typical be Z12 data
- Obs = Obs(:,[1 2 3 4 5]); % We cancel the last two columns 6 and 7
- NoObs = 5;
- for u = 1:NoSv
- lin = fgetl(fid);
- lin_doppler = fgetl(fid);
- for k = 1:NoObs %%-1
- if isempty(str2num(lin(1+16*(k-1):16*k-2))) == 1, Obs(u,k) = nan;
- else %
- Obs(u,k) = str2num(lin(1+16*(k-1):16*k-2));
- end
- % Obs(u,NoObs) = str2num(lin(65:78));
- end
- end
- end
- %%%%%%%%% end grabdata.m %%%%%%%%%