登录
首页 » matlab » Hpoz_txt2coord

Hpoz_txt2coord

于 2011-05-15 发布 文件大小:3KB
0 224
下载积分: 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 个回复

  • rk_4
    四阶龙格-库塔算法的matlab程序实现(Fourth-order Runge-Kutta algorithm matlab program)
    2012-12-28 21:24:55下载
    积分:1
  • HHT
    关于希尔伯特黄变换例程,对于初学者具有参考意义。(Wavelet analysis book source code has certain reference value, very good.)
    2013-04-04 20:29:04下载
    积分:1
  • BaseTestRunner
    Base class for all test runners.
    2014-09-21 19:58:08下载
    积分:1
  • matlab---to-work-harder
    很好的学习matlab的资料,很精细,适合于初学者,有助于突飞猛进(Good learning matlab, very fine, suitable for beginners, contribute to the rapid)
    2013-04-12 10:18:23下载
    积分:1
  • SANDOF
    建立汽车3自由度模型,得到汽车侧翻预警基础。模型中各参数以标注,方便查看。(The 3 degree of freedom model of vehicle is established, and the warning base of rollover is obtained. The parameters in the model are marked for easy viewing. )
    2020-12-16 14:49:12下载
    积分:1
  • 1
    说明:  用MATLAB编写的求曲线拟合的程序,希望大家分享一下。我是新来的。(Prepared using MATLAB for curve fitting process, I hope to share with Members. I was new.)
    2008-12-13 19:14:59下载
    积分:1
  • integration
    different method of integration in computational physics
    2014-09-17 20:42:56下载
    积分:1
  • shuzixinhaochuli
    这是基于matlab的数字信号处理的实验。里面有详细的要求和程序解答,适合初学者。(This is based on digital signal processing matlab experiments. There are detailed requirements and procedures to answer, for beginners.)
    2011-10-19 22:15:25下载
    积分:1
  • nginx-source-analyse
    nginx源码分析,全面易懂。正在研究nginx的朋友可以看看。(nginx source code analysis, comprehensive and easy to understand.Studying nginx friends can see.)
    2014-11-13 10:08:35下载
    积分:1
  • Hexagon-randomly-scattered-points
    matlab 任意正六边形随机撒点 是通信仿真里经常用到的(Hexagon is random point is often used in the communication simulation)
    2015-03-06 20:16:23下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载