声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1263|回复: 5

[编程技巧] 新问题

[复制链接]
发表于 2006-9-11 23:16 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
下面是一股票在5分钟的收盘价,现在想对它进行分析,怎么导入这些数据,绘制图象,然后才可以进行小波分析呢?
time

2003-7-25 9:30  
        price
11.1499996
11.1499996
11.1499996
11.1599998
11.1800003
11.1800003
11.1800003
11.1999998
11.1999998
11.3100004
11.1999998
11.1999998
11.1999998
11.21
11.1999998
11.1999998
11.1999998
11.1999998
11.1999998
11.1999998
11.1999998
11.1999998
11.1999998
11.25
11.29
11.25
11.2399998
11.25
11.2200003
11.25
11.3000002
11.3000002
11.3599997
11.3999996
11.4200001
11.4200001
11.3999996
11.4499998
11.4499998
11.5
11.4499998
11.5
11.5200005
11.5200005
11.5299997
11.6000004
11.6300001
11.5200005
11.5500002
11.5500002
11.5600004
11.6000004
11.5900002
11.6000004
11.6499996
11.6499996
11.6000004
11.6199999
11.6199999
11.6000004
11.6000004
11.6000004
11.6000004
11.6499996
11.6300001
11.6199999
11.5100002
11.6000004
11.6000004
11.5200005
11.5900002
11.5200005
11.5900002
11.5900002
11.6000004
11.5799999
11.5799999
11.5799999
11.5799999
11.5799999
11.5799999
11.5799999
11.5900002
11.5900002
11.5799999
11.5799999
11.5200005
11.5200005
11.5500002
11.5
11.4899998
11.4499998
11.3999996
11.3999996
11.3999996
11.4499998
11.4499998
11.46
11.4799995
11.46
11.4799995
11.46
11.5
11.46
11.46
11.46
11.4799995
11.46
11.5
11.46
11.5
11.46
11.46
11.46
11.4200001
11.4099998
11.4099998
11.4099998
11.4099998
11.4200001
11.4099998
11.4099998
11.4200001
11.4200001
11.4200001
11.4200001
11.4200001
11.4200001
11.4200001
11.4200001
11.4200001
11.4499998
11.4200001
11.4200001
11.4200001
11.4099998
11.4099998
11.4099998
11.4200001
11.4099998
11.3999996
11.3999996
11.3999996
11.3900003
11.3900003
11.3800001
11.3900003
11.3599997
11.3900003
11.3599997
11.3800001
11.3800001
11.3900003
11.3900003
11.3800001
11.3900003
11.3699999
11.3699999
11.3699999
11.3699999
11.3699999
11.3699999
11.3699999
11.3699999
11.3699999
11.3699999
11.3500004
11.3500004
11.3500004
11.3500004
11.3100004
11.3199997
11.3400002
11.3199997
11.3400002
11.3199997
11.3199997
11.3199997
11.3199997
11.3000002
11.3000002
11.3000002
11.3000002
11.3000002
11.3000002
11.25
11.2299995
11.21
11.2299995
11.25
11.25
11.25
11.2399998
11.2399998
11.2399998
11.25
11.2299995
11.2299995
11.2299995
11.25
11.25
11.25
11.2200003
11.2700005
11.2700005
11.2799997
11.2700005
11.2799997
11.2799997
11.2799997
11.2799997
11.2700005
11.2700005
11.2600002
11.2600002
11.2399998
11.1999998
11.1999998
11.1800003
11.1999998
11.1999998
11.1999998
11.1999998
11.2200003
11.25
11.25
11.1999998
11.1899996
11.1999998
11.1999998
11.2200003
11.2200003
11.2200003
11.25
11.2600002
11.29
11.3000002
11.3000002
11.3000002
11.3000002
11.3199997
11.3000002
11.3500004
11.3599997
11.3599997
11.3500004
11.3800001
11.3500004
11.3800001
11.3800001
11.3900003
11.3900003
11.3800001
11.3699999
11.3699999
11.3299999
11.3699999
11.3699999
11.3699999
11.3299999
11.3299999
11.3800001
11.3800001
11.3800001
11.3800001
11.3800001
11.3800001
11.3800001
11.3999996
11.3500004
11.3500004
11.3599997
11.3599997
11.3699999
11.3599997
11.3699999
11.3699999
11.3299999
11.3599997
11.3199997
11.3599997
11.3599997
11.3299999
11.3299999
11.3500004
11.3299999
11.3599997
11.3599997
11.3199997
11.3599997
11.3000002
11.2799997
11.1999998
11.1999998
11.1999998
11.2799997
11.2799997
11.2799997
11.2799997
11.2799997
11.3000002
11.3000002
11.3500004
11.3000002
11.3000002
11.3000002
11.3000002
11.2799997
11.2799997
11.3000002
11.2799997
11.2799997
11.2799997
11.2799997
11.2799997
11.3000002
11.3000002
11.3699999
11.3800001
11.3999996
11.4799995
11.3599997
11.3599997
11.3599997
11.3599997
11.3599997
11.3800001
11.3800001
11.3800001
11.4099998
11.3999996
11.3999996
11.3999996
11.3999996
11.3999996
11.3999996
11.3999996
11.4099998
11.4099998
11.4099998
11.4200001
11.4099998
11.4300003
11.4300003
11.4099998
11.4200001
11.4200001
11.4200001
11.4099998
11.4099998
11.4099998
11.4099998
11.3999996
11.3999996
11.4099998
11.3999996
11.3999996
11.3900003
11.3900003
11.3900003
11.3999996
11.3999996
11.3999996
11.3999996
11.4200001
11.3900003
11.3900003
11.4200001
11.3800001
11.4200001
11.4200001
11.4200001
11.4300003
11.4300003
11.3999996
11.4200001
11.4200001
11.4300003
11.4099998
11.4200001
11.4300003
11.4200001
11.4300003
11.4200001
11.4200001
11.4300003
11.4300003
11.4300003
11.4099998
11.4099998
11.4099998
11.4099998
11.4099998
11.4300003
11.4099998
11.4099998
11.3999996
11.4099998
11.4099998
11.4099998
11.4300003
11.4399996
11.4399996
11.4399996
11.4399996
11.4399996
11.4499998
11.4499998
11.4499998
11.4399996
11.4399996
11.4399996
11.4399996
11.4300003
11.4099998
11.4300003
11.4300003
11.4300003
11.4399996
11.4300003
11.4399996
11.4399996
11.4300003
11.4499998
11.4499998
11.4399996
11.4300003
11.4300003
11.46
11.46
11.46
11.46
11.46
11.46
11.46
11.46
11.4700003
11.4700003
11.4700003
11.4700003
11.4700003
11.46
11.4700003
11.46
11.46
11.4499998
11.4499998
11.4399996
11.4499998
11.4499998
11.4499998
11.46
11.4499998
11.4499998
11.4499998
11.4499998
11.4499998
11.46
11.46
11.46
11.46
11.4799995
11.46
11.4799995
11.4799995
11.4799995
11.46
11.46
11.46
11.4799995
11.46
11.4799995
11.4799995
11.4799995
11.4799995
11.4799995
11.4799995
11.4799995
11.4799995
11.46
11.4799995
11.4899998
11.4799995
11.4899998
11.4899998
11.4899998
11.4799995
11.4899998
11.4799995
11.4799995
11.4700003
11.4700003
11.4799995
11.4700003
11.4700003
11.46
11.46
11.46
11.46
11.46
11.46
11.46
11.46
11.46
11.46
11.46
11.4700003
11.4700003
11.46
11.46
11.4700003
11.4700003
11.46
11.4700003
11.46
11.4799995
11.46
11.4899998
11.46
11.4700003
11.4899998
11.4899998
11.4899998
11.46
11.4799995
11.46
11.46
11.46
11.4499998
11.46
11.46
11.4399996
11.4399996
11.4300003
11.4300003
11.4399996
11.4399996
11.4200001
11.4399996
11.4399996
11.4399996
11.4499998
11.4200001
11.46
11.4799995
11.4799995
11.4799995
11.4799995
11.4799995
11.4799995
11.4799995
11.4700003
11.4799995
11.4799995
11.4799995
11.4799995
11.4799995
11.4799995
11.4799995
11.4799995
11.4799995
11.4799995
11.4899998
11.4799995
11.46
11.46
11.4799995
11.46
11.46
11.4300003
11.4300003
11.4300003
11.4300003
11.4099998
11.4200001
11.3999996
11.4200001
11.4200001
11.4300003
11.3900003
11.3900003
11.3900003
11.3900003
11.4200001
11.4200001
11.4200001
回复
分享到:

使用道具 举报

发表于 2006-9-11 23:51 | 显示全部楼层
将上述 文本导入 论坛原来有帖子


小波 用小波函数可以 也可以用小波工具  ~
发表于 2006-9-12 09:59 | 显示全部楼层
可以复制到txt里,然后再用matlab导入,也可以直接拷贝到matlab的wordspace里。

评分

1

查看全部评分

发表于 2006-9-12 16:30 | 显示全部楼层
这个读入的方法太多,主要是看你文件是什么样的格式存在的
发表于 2006-9-12 21:41 | 显示全部楼层
两个happy都认为可以把txt里面的数据 直接导入matlab  那用什么语句呢?请赐教
发表于 2006-9-13 09:42 | 显示全部楼层
原帖由 q214468952 于 2006-9-12 21:41 发表
两个happy都认为可以把txt里面的数据 直接导入matlab  那用什么语句呢?请赐教



最简单的用load

不过txt文件中不能包含
time

2003-7-25 9:30  
        price

评分

1

查看全部评分

您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-11-20 01:40 , Processed in 0.079384 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表