全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 MATLAB等数学软件专版
1575 3
2009-08-10
>> !type tt.dat
日期 close
8-Apr-05 1,003.45
11-Apr-05 995.42
12-Apr-05 978.7
13-Apr-05 1,000.90
14-Apr-05 986.98
15-Apr-05 974.08
18-Apr-05 963.77
19-Apr-05 965.89
20-Apr-05 950.87
21-Apr-05 943.98
22-Apr-05 939.1
25-Apr-05 930.07
26-Apr-05 937.08
27-Apr-05 926.6
28-Apr-05 942.07
29-Apr-05 932.4
9-May-05 909.17
10-May-05 913.08
11-May-05 901.85
12-May-05 885.82
13-May-05 887.54
16-May-05 875.27
17-May-05 881.46
18-May-05 883.2
19-May-05 884.17
20-May-05 882.76
23-May-05 863.34
24-May-05 868.46
25-May-05 868.45
26-May-05 857.33
27-May-05 849.51
30-May-05 855.61
31-May-05 855.95
1-Jun-05 837.53
2-Jun-05 818.38
3-Jun-05 818.03
6-Jun-05 839
7-Jun-05 837.28
8-Jun-05 905.77
9-Jun-05 912.6
........
.........
>> tsobjkt=ascii2fts('tt.dat',1)
??? Error using ==> ascii2fts
Either the file contents do not correspond to the input
information, or the file contents contain time information
which was not indicated in the function call.
The error generated when creating the FINTS object is:
DATEVEC failed, calling DTSTR2DTVECMX.
Failed on converting date string to date number.

在命令窗口里,出现了以上错误怎么回事,希望高手指点一下!!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2009-8-10 21:08:08
谢谢!!!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2009-8-11 09:07:19
估计还是因为你的收盘数据中千位后面的那个逗号吧~~~~我把逗号去掉以后,按照时间序列数据读取是没有问题的
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2009-8-11 09:47:09
谢谢,太感谢了 ,是的,真是这样的!!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群