nmea文字列を含むテキストファイルを読み込もうとしています!しかし、私はそれが間違っている理由は、私が把握することはできません?私のMatlabコードで何が問題になっていますか?インデックスが範囲外です
??? Attempted to access y(1); index out of bounds because numel(Longitude)=0.
Error in ==> filter at 16
Loc(:,i)=coordinates(x(i),y(i))';
filter.m
clear all
A=textread('xxx\x.txt','%s','headerlines',1);
for i=1:30;
n=2*i-1;
A(i)=A(n);
end
b=A(1:30,:);
c=char(b);
x=c(:,17:24);
y=c(:,28:36);
を入手します!
をしたいと考えている、私はfilter.m' '以外に、スクリプトファイルの名前を変更します – Amro