matlab dsolve求解微分方程组出错,求高人指点,万分感谢
程序如下:
syms v1 v2 x y
S=dsolve('Dx=v1-v2*x/(x^2+y^2)^(1/2)','Dy=-v2*y/(x^2+y^2)^(1/2)','x(0)=0','y(0)=100')
运行之后:??? Error using ==> dsolve
Error, (in dsolve/IC) The 'implicit' option is not available when giving Initial Conditions.
答案:我用的matlab2010b 没有解析解
>> S=dsolve('Dx=v1-v2*x/(x^2+y^2)^(1/2)','Dy=-v2*y/(x^2+y^2)^(1/2)','x(0)=0','y(0)=100','t')
Warning: Explicit solution could not be found.
> In dsolve at 101
S =
[ empty sym ]
上一个:Matlab编程问题求解
下一个:Simulink Matlab function模块能实现多输出吗,比如我的函数有四个输出 啊,a,b,c,d