Error using / Invalid operands
Afficher commentaires plus anciens
Problem:
I'd like to calculate a limit, but for some reason I can't use the '/' operand. Can somebody explain why?
Error message:
Error using / (line 485)
Invalid operands.
Code:
syms s;
limit(s/(((2*eulergamma^(-23*s)/a)*1.07 + 0.0114/s + 25.3045*s))*1/s, s, 0)
6 commentaires
Ive J
le 22 Fév 2022
I assume a is a vector(?)
what about this?
limit(s./(((2*eulergamma^(-23.*s)./a)*1.07 + 0.0114./s + 25.3045.*s))*1./s, s, 0)
Damián Bombara
le 22 Fév 2022
Damián Bombara
le 22 Fév 2022
I can't replicate the error:
syms s;
GRS = (50609*s)/2000 + 57/(5000*s) + 107/100;
GS = (2/eulergamma^(23*s))/((93*s)/2 + 1)^2;
limit((s.*1./s)./(1 + GS*GRS), s, 0)
BTW, you should note that there is a huge difference between * and .* in MATLAB
Damián Bombara
le 22 Fév 2022
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Programming 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!