"Error using symengine" "Error in sym/subs>mupadsubs" "Error in sym/subs"
Show older comments
"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.
1 Comment
Udit Dhand
on 17 Jul 2018
try
fmesh(g(1))
Answers (0)
Categories
Find more on Grid Lines, Tick Values, and Labels in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!