"Error using symengine" "Error in sym/subs>mupadsubs" "Error in sym/subs"
Afficher commentaires plus anciens
"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 commentaire
Udit Dhand
le 17 Juil 2018
try
fmesh(g(1))
Réponses (0)
Catégories
En savoir plus sur Grid Lines, Tick Values, and Labels dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!