Be the first to rate this file! 24 Downloads (last 30 days) File Size: 533.94 KB File ID: #25743
image thumbnail

Distance between GPS points

by Ramin Shamshiri

 

04 Nov 2009

Calculates distance between two GPS coordinates through Carlson model.

| Watch this File

File Information
Description

This program calculates distance between two decimal GPS coordinates matrices. The model used in this calculation utilizes Carlson (1999) model.

Example:
Import the sample_data.xls file, creating vectors from each column using column names or you can enter your own GPS data into lat1,long1,lat2 and long2 variables, then run this m-file.

The output of this program is
1- Calculated distance between Point1(long1(i),lat1(i)) and point2(long2(i),lat2(i)) shwon as distance_m (metric system) and distance_ft (US system)
2- Plot of long1 vs lat1
3- Plot of long2 vs. lat2
4- Plot of distance_m vs. # points

MATLAB release MATLAB 7 (R14)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
gps Ramin Shamshiri 05 Nov 2009 09:47:33
distance calculation Ramin Shamshiri 05 Nov 2009 09:47:33
precision agriculture Ramin Shamshiri 05 Nov 2009 09:47:33
decimal coordinate Ramin Shamshiri 05 Nov 2009 09:47:33
carlson model Ramin Shamshiri 05 Nov 2009 09:47:33
gps kuoping 29 Jun 2010 07:19:27

Contact us at files@mathworks.com