METHOD FOR PREDICTION DATA

HELLO I need help please ihave Data of Gps position and iwant to use predictor to the GPS which method ican use and what is the algorithm of the method.
[EDIT]
at first i have program but something wrong in this program please help me to repair it to compute position ( x,y,z) i know ph, xsv.ysv.zsv and i want to compute x.y,z
for i = 1: 19
ph(i) = sqrt((xSV(i) - x)^2 + (ySV(i) - y)^2 + (zSV(i) - z)^2)
end
% Compute the H matrix % for i = 1: 19 % % dph_x denote dph(i)/dx % dph_x = -(xSV(i) - x) / ((xSV(i) - x)^2 + (ySV(i) - y)^2 + (zSV(i) - z)^2)^(0.5); % dph_y = -(ySV(i) - y) / ((xSV(i) - x)^2 + (ySV(i) - y)^2 + (zSV(i) - z)^2)^(0.5); % dph_z = -(zSV(i) - z) / ((xSV(i) - x)^2 + (ySV(i) - y)^2 + (zSV(i) - z)^2)^(0.5); % % H(i,:)=[dph_x dph_y dph_z 1]; %end % i % DeltaX = (H') * (ph - ph1)'; % x = DeltaX(1) + x; % y = DeltaX(2) + y; % z = DeltaX(3) + z; % cdtr = DeltaX(4) ;
%end %k
r = [x y z]'; %location = ecef2lla2(r); location = r;

2 commentaires

omar
omar le 24 Jan 2014
here is the program that ineed to help me to correct it for i = 1: 19 ph(i) = sqrt((xSV(i) - x)^2 + (ySV(i) - y)^2 + (zSV(i) - z)^2) end % Compute the H matrix for i = 1: 19 % % dph_x denote dph(i)/dx % dph_x = -(xSV(i) - x) / ((xSV(i) - x)^2 + (ySV(i) - y)^2 + (zSV(i) - z)^2)^(0.5); % dph_y = -(ySV(i) - y) / ((xSV(i) - x)^2 + (ySV(i) - y)^2 + (zSV(i-z)^2)^(0.5); dph_z = -(zSV(i) - z) / ((xSV(i) - x)^2 + (ySV(i) - y)^2 + (zSV(i) - z)^2)^(0.5); % % H(i,:)=[dph_x dph_y dph_z 1]; %end % i % DeltaX = (H') * (ph - ph1)'; % x = DeltaX(1) + x; % y = DeltaX(2) + y; % z = DeltaX(3) + z; % cdtr = DeltaX(4) ;
r = [x y z]'; %location = ecef2lla2(r); location = r;
Image Analyst
Image Analyst le 24 Jan 2014
Looks like a mess. Just attach with the paperclip icon.

Connectez-vous pour commenter.

Réponses (2)

Walter Roberson
Walter Roberson le 23 Jan 2014

0 votes

Find the mean latitude and standard deviation in latitude, and likewise for longitude. Use the mean position as a base position, randonly generate a normally distributed latitude based on the standard deviation in latitude, and randomly generate a normally distributed longitude based on the standard deviation in longitude. You have now made a prediction.

1 commentaire

Image Analyst
Image Analyst le 24 Jan 2014
omar's "Answer" moved here:
hello thanks for your answer please ineed example about your answer and the program used matlab about prediction which algorithm ican use please

Connectez-vous pour commenter.

Image Analyst
Image Analyst le 24 Jan 2014

0 votes

Are you trying to interpolate data, or extrapolate data? Are you trying to track some object/vehicle? You seem rather tight lipped about your project - if you can supply more info that would help us help you. Don't make it hard for us.

Question posée :

le 23 Jan 2014

Commenté :

le 24 Jan 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by