About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
See full specifications

scripts default iconCoordinate Extractor (Scripts) Publisher's description

Use this function to extract one geographical coordinate out of an input string

Use this function to extract one geographical coordinate out of an input string. The function is extremely flexible, thus the coordinate may be located anywhere in the string and may have one of many formats.

txt2coord(' 100В° 7'' 30" W')
txt2coord(' 100В° 7Вґ 30ВґВґ W')
txt2coord('-100В° 7` 30"')
txt2coord('100В° 7.5'' W')
txt2coord('100.125В° west ')
txt2coord('bla 100В°, 7min;30ВґВґ S bla')
txt2coord({'100.125В° W' '-100.125В°'})

All specified examples yield the correct result (-100.125).

I have successfully tested this with various inputs. Yet, regular expressions, which are extensively used in this file, ... well ... they sometimes have a funny way of showing you that you havn't quite figured them out yet. Therefore, I would strongly advice you to performe some sanity-check on this function before using it and would be greatful, if you report any bugs to me.



System Requirements:

MATLAB 7.11 (2010b)
Program Release Status: New Release
Program Install Support: Install and Uninstall

Coordinate Extractor (Scripts) Tags:

Click on a tag to find related softwares

Is Coordinate Extractor (Scripts) your software?

Manage your software

Most Popular

scripts default icon ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
scripts default icon Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
scripts default icon M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
scripts default icon LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
scripts default icon InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.