フィルターのクリア

Why do i get this error whenever i try to create a "sym"? "The second argument must be positive clear or real"

1 回表示 (過去 30 日間)
sym qb h3; eqn = (da-db)/(da-db0) == (((qa-qb)*a3*h3/qb+vb0)/vb0)^(qa/(qa-qb)); solve(eqn,qb); In the eqn, except qb, all the numerical values were given.

採用された回答

Steven Lord
Steven Lord 2018 年 6 月 12 日
You meant to use the syms function, not the sym function, to define your symbolic variables. The extra s is important.
  1 件のコメント
new user 00
new user 00 2018 年 6 月 12 日
sorry that was a silly mistake i guess. now, i've got a new error. "explicit solutions cannot be found";

サインインしてコメントする。

その他の回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by