Zip Code Latitude Longitude City State County
%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
Platform Compatibility
Windows macOS LinuxCategories
- Mathematics and Optimization > Mapping Toolbox > Map Display > Interact with Maps >
- Radar > Mapping Toolbox > Map Display > Interact with Maps >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.