Error of sym>convertChar
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Kutlu Yigitturk
am 20 Apr. 2021
Kommentiert: Kutlu Yigitturk
am 20 Apr. 2021
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/590147/image.png)
How can I solve this problem? Thanks a lot.
0 Kommentare
Akzeptierte Antwort
Stephan
am 20 Apr. 2021
Bearbeitet: Stephan
am 20 Apr. 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 Kommentare
Steven Lord
am 20 Apr. 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)
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Assumptions finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!