| 查看: 2024 | 回复: 1 | ||
| 本帖产生 1 个 博学EPI ,点击这里进行查看 | ||
一方水土木虫 (小有名气)
|
[求助]
load data input output的使用
|
|
|
我在写MATLAB程序时,用到 load data input output ;可是我不清楚这个input 和output的数据从哪输入,忘大神给指点迷津,那个data.mat文件是怎么回事啊? 下面我附上部分程序: part.jpg |
» 猜你喜欢
求教各位大神:2026教育部人文社科青年基金项目何时公示呀?
已经有6人回复
浙江师范大学是怎么坑我的
已经有6人回复
面上有专家说实验设备不是我们单位的
已经有8人回复
科研求助
已经有4人回复
博士去二本高校当辅导员,如何调整心态?
已经有11人回复
江苏省自然基金 什么时候出结果
已经有6人回复
闲聊
已经有3人回复

FMStation
至尊木虫 (知名作家)
- 博学EPI: 15
- 应助: 591 (博士)
- 贵宾: 0.03
- 金币: 18744.2
- 红花: 97
- 帖子: 8891
- 在线: 1497.2小时
- 虫号: 2400059
- 注册: 2013-04-04
- 专业: 计算机应用技术
【答案】应助回帖
★ ★ ★ ★ ★
一方水土: 金币+5, 博学EPI+1, ★有帮助 2016-09-27 15:30:47
一方水土: 金币+5, 博学EPI+1, ★有帮助 2016-09-27 15:30:47
|
http://matlab.izmiran.ru/help/techdoc/matlab_prog/ch10_in8.html To import variables from a binary or ASCII file on your disk to your workspace, use the load function. You can load all variables from the workspace in a single operation (if you omit the filename, MATLAB loads from file matlab.mat): load filename or load just those variables that you specify: load filename var1 var2 ... varN Use the wildcard character (*) in the variable name to load those variables that match a specific pattern. (This works for MAT-files only.) For example, the following command loads all variables that start with str from file strinfo.mat: load strinfo str* ~~~~~ input_train input[1]..[10] input_test input[11]..[20] output_train output[1]..[10] output_test output[11]..[20] |
2楼2016-09-26 18:07:47









回复此楼