Error of sym>convertChar
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Kutlu Yigitturk
le 20 Avr 2021
Commenté : Kutlu Yigitturk
le 20 Avr 2021
How can I solve this problem? Thanks a lot.
0 commentaires
Réponse acceptée
Stephan
le 20 Avr 2021
Modifié(e) : Stephan
le 20 Avr 2021
syms a b c x
f = str2sym('a*x^2 + b*x + c')
subs(f,x,5)
subs(f,[x a b c],[5 1 2 3])
2 commentaires
Steven Lord
le 20 Avr 2021
Alternately since all the symbolic variables have been defined on the first line:
syms a b c x
f = a*x^2+b*x+c
subs(f, x, 5)
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Calculus dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!