24小时热门版块排行榜    

查看: 6284  |  回复: 1

小程程TAT

新虫 (初入文坛)

[求助] solve解方程组出问题 已有1人参与

syms b0 tau0 L0
a=-3.7294e-5;
b=1.0875;
S=solve(2*L0/(b0^2+L0*(L0-1))-b,-tau0*b0^2-a,b0*cot(b0)+L0-1,'b0,tau0,L0');
提示:
警告: Support of character vectors that are not valid variable names or define a number will be removed in a future release. To create
symbolic expressions, first create symbolic variables and then use operations on them.
> In sym>convertExpression (line 1559)
  In sym>convertChar (line 1464)
  In sym>tomupad (line 1216)
  In sym (line 179)
  In solve>getEqns (line 405)
  In solve (line 225)
  In ZLCkinetic (line 38)
警告: Do not specify equations and variables as character vectors. Instead, create symbolic variables with syms.
> In solve>getEqns (line 445)
  In solve (line 225)
  In ZLCkinetic (line 38)
警告: Cannot find explicit solution.
> In solve (line 316)
  In ZLCkinetic (line 38)
难道是方程组无解,那也应该有虚数解吧,求虫友赐教
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

dingd

铁杆木虫 (职业作家)

【答案】应助回帖

感谢参与,应助指数 +1
已经提示没有解析解了,数值解试试:
l0: 3.86270734766405E-9
b0: 0.000104721234416153
tau0: 3400.70892133587
2楼2017-10-18 14:26:30
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 小程程TAT 的主题更新
信息提示
请填处理意见