> 数学 >
怎样在matlab中建立微分方程函数
怎样在matlab中建立微分方程函数如:dy/dx=xy,(x=0时,y=1),在0=
人气:239 ℃ 时间:2020-04-03 11:27:03
解答
syms x
y=dsolve('Dy=x*y','y(0)=1','x')
Y=subs(y,x,0:0.1:4);
plot(0:0.1:4,Y)
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版