zszzxl 发表于 2006-9-11 23:16

新问题

下面是一股票在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

qiuqia17 发表于 2006-9-11 23:51

将上述 文本导入 论坛原来有帖子


小波 用小波函数可以 也可以用小波工具~

realhappy 发表于 2006-9-12 09:59

可以复制到txt里,然后再用matlab导入,也可以直接拷贝到matlab的wordspace里。

happy 发表于 2006-9-12 16:30

这个读入的方法太多,主要是看你文件是什么样的格式存在的

q214468952 发表于 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]
查看完整版本: 新问题