登录
首页 » matlab » Hpoz_txt2coord

Hpoz_txt2coord

于 2011-05-15 发布 文件大小:3KB
0 329
下载积分: 1 下载次数: 5

代码说明:

  使用此函数来提取一个地理坐标输入字符串了。该功能非常灵活,因此,协调可能位于任何地方的字符串,并可能有许多的格式之一。 例子: txt2coord( 100 ° 7 30“宽 ) txt2coord( 100 ° 7 30 w 的) txt2coord( -100 ° 7 30“ ) txt2coord( 100 ° 75 w 的) txt2coord( 100 .125 °以西 ) txt2coord( 喇嘛100 °,7分钟 30 S喇嘛 ) txt2coord({ 100 .125 ° w 的 -100.125 ° }) 所有指定的例子得出正确的结果(-100.125)。 我已经成功测试了多种不同的投入这一点。然而,正则表达式,这是在该文件中使用广泛,...嗯...他们有时有一个有趣的方式展示你,你没有带他们出去尚未完全想通。因此,我强烈建议你使用它之前的一些performe此功能完整性检查和将不胜感激,如果你向我报告任何错误。 (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. Examples: 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. )

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • BP5
    利用BP神经网络识别字母,选用改进的BP算法,精度高,抗噪声能力好(BP neural network using the letters, use the improved BP algorithm, high precision, good noise immunity)
    2011-01-20 11:04:54下载
    积分:1
  • tuxingxue
    计算机图形学生成基本曲线、圆、直线方面的程序,仅供参考(jisuanji tuxingxue shengcheng jibenquxian fangmian de cheng xu jingong cankao)
    2012-04-24 10:50:41下载
    积分:1
  • 76545576
    自定义风格的SegmentedControl,IOS编程学习源码,很好的参考资料。(A custom style SegmentedControl, learning IOS programming source code, a good reference.)
    2013-12-05 09:13:30下载
    积分:1
  • wavecompression
    利用离散小波对图像进行压缩的matlab源程序(Use of discrete wavelet image compression matlab source)
    2009-01-08 09:09:45下载
    积分:1
  • PID_Weizhi
    这是matlab中实现PID位置控制算法程序(This is the matlab PID position control algorithm)
    2012-03-21 14:51:16下载
    积分:1
  • moead
    一种多目标优化算法的matlab程序,能够实现大量目标的同时优化,对多目标优化算法的学习很有帮助(a multi-object optimization matlab program,can optimize large object at meantime it will contribute to those who want to study muti-object optimization algorithm)
    2013-09-15 14:32:50下载
    积分:1
  • hps
    Harmonic Product Spectrum
    2015-02-26 06:24:09下载
    积分:1
  • caviy-matlab-lb-method
    2D cavity flow, simulated by a LB method
    2013-03-02 22:28:31下载
    积分:1
  • matlab-nihe
    matlab的准线性集合,可以求出线性参数及误差,并且可以得到极值(matlab quasi-linear collection of linear parameters and error can be calculated, and you can get the extreme value)
    2012-10-28 10:26:04下载
    积分:1
  • sound
    sound operations in matlab
    2014-02-19 01:17:21下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载