필터 지우기
필터 지우기

convert string and sym equstion to use maple symbolic engine !

조회 수: 1 (최근 30일)
mehdi Jafari
mehdi Jafari 2018년 1월 23일
답변: Birdman 2018년 1월 23일
hi everyone, i have an equation, a*x^2+1 . i want to solve this using maple symbolic engine. i use following , but it ended up with error :
i think the problem is about the string ' ' which i should put equations into to be solved ! how can i convert this string to a normal symbolic equation ? how can i convert 'a*x^2-1' to 10*x^2-1 , to solve the problem ? tnx for help.

답변 (1개)

Birdman
Birdman 2018년 1월 23일
syms a x
eq=a*x^2-1
%%symbolic substitution for a in eq
eq1=subs(eq,a,10)
solve(eq1,x)

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by