>
数学
>
x=0:100 y=1/(1+exp(x)) plot(x,y)
出现错误 Matrix dimensions must agree.
人气:100 ℃ 时间:2020-06-07 02:39:50
解答
这是因为exp(x)是一个向量,不能直接进行求倒数的运算若该为y=1./(1+exp(x))即可,注意点除与除的区别
推荐
关于matlab的问题 t=0:0.01:2*pi; x=exp(i*t); y=[x;2*x;3*x]'; plot(y);每一步什么意思,
exp(x)的意义
x=[-2.5:0.25:2.5];y=exp(-x.*x);stairs(x,y);title('stairs plot');
Z=exp(-(X.^2+Y.^2)/2^2);中exp的意义和作用是什么?
x*exp(x)-1.25*exp(x)+1.25=0 谁能帮我解解这个方程式
英语翻译
K3[CO(NO2)6]名称?
已知 sin a-cos a=1/2,则 sin^3 a-cos^3 a
猜你喜欢
求科学作业本上的一道题
3又8分之3+1.625=()1又3分之1+1又4分之1=()1又3分之2*(1+1又3分之2)=
观察一种花,写出它的样子、颜色和其它特点
This picture is old.We can still see it was drawn in ___century
乙醛酸循环在代谢中起什么作用?求解
为什么化学平衡常数不随压强增大而改变?
描写梦的词语
西汉文学家刘向说:“书犹—————也.”
© 2024 79432.Com All Rights Reserved.
电脑版
|
手机版