"Error using symengine" "Error in sym/subs>mupadsubs" "Error in sym/subs"
显示 更早的评论
"Error using symengine Division by zero."
"Error in sym/subs>mupadsubs (line 160) G = mupadmex('symobj::fullsubs',F.s,X2,Y2);"
"Error in sym/subs (line 145) G = mupadsubs(F,X,Y);"
I'm coding below at the moment and having the error above.
syms x y
f=(-(x - 1)/(x*y))^(1/2)
g=gradient(f,[x,y])
[X,Y]=meshgrid(0:0.01:1,0:1E+7:1E+9);
G1=subs(g(1), [x y], {X,Y});
Anyone knows how to fix this? It'd be great help. I'm losing hours here.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Grid Lines, Tick Values, and Labels 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!