How to define a variable.... very simple

11 ビュー (過去 30 日間)
Derek
Derek 2012 年 1 月 5 日
Hey everyone, I am trying to solve the equation a*x^2+b*x+c=0 for the variable x. I have tried to type in,
syms a b c x
and get this result,
??? Undefined function or method 'syms' for input arguments of type 'char'.
This is the simplest thing and is driving me crazy!!!!!! I am just trying to get the hang of solving equations before I start to tackle my much harder assignment.
If somebody can tell me how to define a variable I will be so greatful.
Thanks,
Derek

回答 (1 件)

Walter Roberson
Walter Roberson 2012 年 1 月 5 日
You do not have the Symbolic Toolbox installed.

カテゴリ

Help Center および File ExchangeNumeric Solvers についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by