楼主: haiyanmengxue
1875 3

[资料] OX统计语言 [推广有奖]

  • 0关注
  • 0粉丝

高中生

20%

还不是VIP/贵宾

-

威望
0
论坛币
530 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
181 点
帖子
12
精华
0
在线时间
26 小时
注册时间
2011-3-31
最后登录
2019-7-6

楼主
haiyanmengxue 发表于 2011-4-20 11:09:15 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
怎么将数据导入OX环境中?
二维码

扫码加我 拉你入群

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

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

关键词:统计语言 数据导入 统计

回帖推荐

zhaohailei 发表于3楼  查看完整内容

lists the files types which Ox can read and write.(file type default extension) Text matrix file .mat Text data file with load information .dat PcGive/OxMetrics data file .in7 (with .bn7) Excel spreadsheet file .xls Lotus spreadsheet file .wks/.wk1 Gauss matrix file .fmt Gauss data file .dht (with .dat) Stata data file .dta text file using fscan/fprint functions binary file using fread ...

zhaohailei 发表于4楼  查看完整内容

the examples in samples\inout To read a file directly into a matrix, use loadmat. The loadmat function uses the extension of the file name to determine the file type. Use savemat to write a matrix to disk, again the file type is determined by the extension. #include main() { decl mx; mx = loadmat("data.mat"); print(mx); } If you specify full folder names, you must either use one fo ...

本帖被以下文库推荐

沙发
ermutuxia 发表于 2012-12-24 15:33:23
这个软件国内很少用

藤椅
zhaohailei 发表于 2013-3-17 11:51:42
lists the files types which Ox can read and write.(file type default extension)
Text matrix file .mat
Text data file with load information .dat
PcGive/OxMetrics data file .in7 (with .bn7)
Excel spreadsheet file .xls
Lotus spreadsheet file .wks/.wk1
Gauss matrix file .fmt
Gauss data file .dht (with .dat)
Stata data file .dta
text file using fscan/fprint functions
binary file using fread/fwrite functions

板凳
zhaohailei 发表于 2013-3-17 11:55:31
the examples in samples\inout
To read a file directly into a matrix, use loadmat. The loadmat function uses the
extension of the file name to determine the file type. Use savemat to write a matrix
to disk, again the file type is determined by the extension.

#include <oxstd.h>
main()
{
decl mx;
mx = loadmat("data.mat");
print(mx);
}

If you specify full folder names, you must either use one forward slash, or two backslashes:
"./data.mat" or ".\\data.mat". Ox will interpret one backslash in
a string as an escape sequence (as in "\n", see §7.4); only if it happens not to be an
escape sequence, will the backslash be used. Also note that the Windows and Unix
versions of Ox can handle long file names.
已有 1 人评分经验 论坛币 收起 理由
胖胖小龟宝 + 20 + 20 热心帮助其他会员

总评分: 经验 + 20  论坛币 + 20   查看全部评分

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-21 03:08