24小时热门版块排行榜    

查看: 214  |  回复: 0

cuixiaoying

新虫 (初入文坛)

[求助] 求结果

function y1=myfun1()
syms x1 x2 x3 x3 x4 x5 x6 x7 x8;
N1=[-0.1633*x1+0.1089*x2+0.0171*x3-0.0959*x40.0738*x5+0.0678*x6+0.0530*x7-0.0871*x8-0.0898;-0.0320*x1+0.1364*x2+0.0623*x3-0.2557*x4-0.1343*x5+0.0684*x6-0.0569*x7-0.2064*x8-0.0357;0.2941*x1+0.9447*x2-0.9721*x3-0.0990*x4+0.6828*x5-0.1498*x6-0.1914*x7+0.0757*x8+1.0518;-0.4284*x1+0.1579*x2-0.1486*x3-0.1043*x4-0.1995*x5+0.1098*x6+0.1370*x7-0.0863*x8-0.2093;0.0915*x1+0.1810*x2-0.0017*x3+0.4455*x4+0.4214*x5+0.4583*x6+0.4349*x7-0.3718*x8+0.2859;0.5341*x1-1.2305*x2+0.0720*x3-0.1918*x4+0.1683*x5-0.3201*x6-0.2920*x7+0.2111*x8+0.0618;-0.1206*x1-0.4741*x2-0.1622*x3-0.3570*x4+0.0129*x5+0.1660*x6+0.0548*x7-0.6122*x8-0.0156;0.1633*x1-0.1089*x2-0.0171*x3+0.0959*x4+0.0738*x5-0.0678*x6-0.0530*x7+0.0871*x8+0.0898;0.1633*x1-0.1089*x2-0.0171*x3+0.0959*x4+0.0738*x5-0.0678*x6-0.0530*x7+0.0871*x8+0.0898];
y1=2/(1+exp(-2*N1))-1;
end
我在MATLAB中运行的结果感觉不对,想请高手帮忙一下,帮我计算一下y1的结果,顺便告知一下您编的程序,万分感激。

[ Last edited by jjdg on 2013-1-19 at 03:14 ]
回复此楼

» 猜你喜欢

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 cuixiaoying 的主题更新
信息提示
请填处理意见