Zip Code Latitude Longitude City State County

Version 1.1.0.0 (1.16 MB) by Sami
Distance between two zip codes
3.3K Downloads
Updated 17 Mar 2014

View License

%ZIPLATLON Finds the a combination of latidue, longitude, Zip Code in the United States and
% distance in between two of points.
%
%
% LATLONFROMZIPCODE: Get Latitude and Longitude from given Zip Code:
% [LAT1, LON1] = LATLONFROMZIPCODE(ZIP1)
% GET_ZIPCODE: Get the Zipcode from a given point with Latitude and longitude.
% [ZIPCODE1] = GET_ZIPCODE(LAT1, LON1)
% ZIPDISTANCE : Find the distance between the two zipcodes.
% [ZDIS] = ZIPDISTANCE(ZIP1, ZIP2)
%
% Map look up for the Zip Code Latitude Longitude City State County CSV
% was supported August 24, 2013 by Thai Yin.
% A convenient file with all the US zip codes and their associated
% latitude, longitude, city, state, and county. was supported August 24,
% 2013 by Thai Yin. Mapping modules in Drupal and WordPress may require
% this database which isn’t always included due to size.
% http://notebook.gaslampmedia.com/download-zip-code-latitude-longitude-city-state-county-csv/
%
% The map then was converted to matlab data file (.mat) file
% First, finding the lat and lon data associated with the desired zipcode, then using
% the built-in DISTANCE function in MATLAB to find the distance between
% the two given zip codes.

Thanks, Sami

Cite As

Sami (2024). Zip Code Latitude Longitude City State County (https://www.mathworks.com/matlabcentral/fileexchange/45905-zip-code-latitude-longitude-city-state-county), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

Updated: to add a lookup for the Lat,Lon and ZipCode.
Please comment if you like it.

Thanks, Sami

1.0.0.0