Could someone please explain...
Show older comments
I have some expressions, I dont know the different between using function 'subs' and calculating directly. My purpose is calculate nuy, by substitute the varience 'rch' into 'atan(f./(2*pi*x))' .
When I use 'subs' function, it results the error, division by zero.
But when I calculate directly, there are not error, and I obtained the result? Could anyone explain me about this?
>> syms x
>> nuy = atan(f./(2*pi*x));
>> rch = 0:0.001:0.3603;
>> subs(nuy,x,rch);
Error using symengine Division by zero.
Error in sym/subs>mupadsubs (line 140) G = mupadmex('symobj::fullsubs',F.s,X2,Y2);
Error in sym/subs (line 125) G = mupadsubs(F,X,Y);
nuy = atan(f./(2*pi*rch));
Accepted Answer
More Answers (0)
Categories
Find more on Conversion 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!