Empty sym: 0-by-1
显示 更早的评论
Im very new to Matlab, than please, can anybody help/
This is the part of the code
syms x1;
solve(x.^2+4*sin(x)==0,x1)
and this is ans
ans =
Empty sym: 0-by-1
What can i fo to fix it?
(The solutions of this equation are:0 and smthng abot -1.93)
回答(1 个)
DEEPAK SHARMA
2020-5-20
vpasolve(x^2+4*sin(x)==0,x, [-2 -1])
ans =
-1.9337537628270212533084756690907
类别
在 帮助中心 和 File Exchange 中查找有关 Operations on Strings 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!