| 查看: 1941 | 回复: 1 | |||
| 本帖产生 1 个 博学EPI ,点击这里进行查看 | |||
一方水土木虫 (小有名气)
|
[求助]
load data input output的使用
|
||
|
我在写MATLAB程序时,用到 load data input output ;可是我不清楚这个input 和output的数据从哪输入,忘大神给指点迷津,那个data.mat文件是怎么回事啊? 下面我附上部分程序: part.jpg |
» 猜你喜欢
博士申请都是内定的吗?
已经有9人回复
博士读完未来一定会好吗
已经有34人回复
心脉受损
已经有8人回复
之前让一硕士生水了7个发明专利,现在这7个获批发明专利的维护费可从哪儿支出哈?
已经有9人回复
读博
已经有5人回复
投稿精细化工
已经有4人回复
导师想让我从独立一作变成了共一第一
已经有9人回复
Springer期刊投稿求助
已经有4人回复

FMStation
至尊木虫 (知名作家)
- 博学EPI: 15
- 应助: 591 (博士)
- 贵宾: 0.03
- 金币: 18095.2
- 红花: 97
- 帖子: 8891
- 在线: 1485.3小时
- 虫号: 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













回复此楼