登录
首页 » matlab » Hpoz_txt2coord

Hpoz_txt2coord

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

  • mapso
    matlab与mas系统的结合 设计了多智能体的合作与竞争机制 效果还不错(The combination with the mas matlab system designed multi-agent cooperation and competition results were pretty good)
    2011-10-14 21:53:24下载
    积分:1
  • KalmanAll
    matlab中关于卡尔曼滤波的一些常用子函数及工具(One kinds of the Kalman filter can estimate the position of the ball.)
    2013-10-24 10:16:51下载
    积分:1
  • project
    bpsk with hamming code in gausian channel
    2013-12-01 21:50:22下载
    积分:1
  • psom
    标准粒子群优化算法(matlab).(standard PSO algorithm (Matlab).)
    2007-03-06 20:52:56下载
    积分:1
  • EconomicDispatch
    this is a matlab program
    2014-09-21 14:56:03下载
    积分:1
  • GA
    Genetic algorithm implementation
    2014-01-03 13:07:27下载
    积分:1
  • ofmareceiver1
    在理想环境下对ofdm进行仿真,有qpsk映射,ifft,d/a的转换,和接受等(In an ideal environment for simulation of ofdm, there qpsk mapping, ifft, d/a conversion, and acceptance of such)
    2009-04-20 20:48:48下载
    积分:1
  • mlcentra
    Climate Control System
    2010-12-03 20:52:35下载
    积分:1
  • ziliao
    基于DCT变换的信息隐藏(数字水印)嵌入算法的设计(Matlab(DCT-based information hiding (digital watermark) embedded in the design of algorithms (Matlab)
    2010-05-18 21:45:09下载
    积分:1
  • fir_h.m
    FIR High pass filter simulation using matlab
    2011-08-20 01:23:38下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载