Error of sym>convertChar
조회 수: 3 (최근 30일)
이전 댓글 표시
How can I solve this problem? Thanks a lot.
댓글 수: 0
채택된 답변
Stephan
2021년 4월 20일
편집: Stephan
2021년 4월 20일
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
Steven Lord
2021년 4월 20일
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)
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Calculus에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!