Getting Error on limit calculation
Afficher commentaires plus anciens
Hi all
I get an error running these lines , but the functions are unknown
could someone tell me what the error is ?
R=1; D11=3;
A(1,:)=[((-R*log®/(2*D11))+R/(4*D11)) R/2 1/R 0]; syms ro;
limit(((-ro*log(ro)/(2*D11))+ro/(4*D11)),ro,0,'right');
syms ro;
limit ( 1/ro,ro, 0, 'right');
A(2,:)=[((-ro*log(ro)/(2*D11))+ro/(4*D11)) ro/2 1/ro 0];
Réponse acceptée
Plus de réponses (2)
farzad
le 2 Déc 2014
0 votes
farzad
le 4 Déc 2014
0 votes
1 commentaire
Star Strider
le 4 Déc 2014
My pleasure!
You can certainly use a symbolic solver to do this or almost any problem that has an analytic solution and that is not so large that the solver cannot do it. It is simply obvious that -ro*log(ro) as ‘ro’ approaches zero is going to be zero. So is the second term.
I’m not certain how the Symbolic Math Toolbox calculates its limits (I never looked).
Catégories
En savoir plus sur Code Performance 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!