matlab小程序(4)

2019-01-27 18:22

训练结果显示:

NEWRB, neurons = 0, SSE = 5.0973 NEWRB, neurons = 2, SSE = 4.87139 NEWRB, neurons = 3, SSE = 3.61176

NEWRB, neurons = 4, SSE = 3.4875' I& _* x1 d& Z! D& C NEWRB, neurons = 5, SSE = 0.534217; L8 @! \\+ w, ~8 a8 j9 X NEWRB, neurons = 6, SSE = 0.51785

NEWRB, neurons = 7, SSE = 0.4342593 j\ NEWRB, neurons = 8, SSE = 0.341518

NEWRB, neurons = 9, SSE = 0.3415194 s! \\' _% N' @5 Q/ s' z# i3 o NEWRB, neurons = 10, SSE = 0.00257832 * B' x' `: G7 w+ T- J# m: k/ \\

八删除当前路径下所有的带后缀.asv的文件5 q3 \\( n' T, r6 `/ Q2 k( C% ` 说明:该程序具有很好的移植性,用户可以根据自己地 要求修改程序,删除不同后缀类型的文件! function delete_asv(bpath) 7 a1 z k j7 D( {

%If bpath is not specified,it lists all the asv files in the current %directory and will delete all the file with asv8 D9 X) p1 @8 M( }' f % Example:

% delete_asv('*.asv') will delete the file with name *.asv; % delete_asv will delete all the file with .asv. 6 C6 c3 K' J, F. N9 E5 O

if nargin< 1

%list all the asv file in the current directory! I. F- Q# [+ U$ J8 ], V) L files=dir('*.asv');

else

% find the exact file in the path of bpath

[pathstr,name] = fileparts(bpath);7 M/ y! M# U% F6 M* ^4 M if exist(bpath,'dir'). \\6 E* H; F, I3 Y1 `4 K$ A name = [name '\\*'];/ B c+ c% d% I [ end$ z8 n. }1 o, J3 N& n

ext = '.asv';% Q& [& f; ?7 l\

files=dir(fullfile(pathstr,[name ext])); end

' e/ U\ if ~isempty(files) for i=1:size(files,1)

title=files(i).name;' h* M\ delete(title);( @\ end% C2 O6 u1 R* R8 H1 ` end1 z- `, e9 `& w7 J, W& C

# n0 W, ?: h7 u# z

同样也可以在Matlab的窗口设置中取消保存.asv文件!


matlab小程序(4).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:2010一年级汉语拼音笔试卷参考

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: