Create symbolic variables with assumptions (syms)

2 ビュー (過去 30 日間)
Rafael Gallego
Rafael Gallego 2019 年 6 月 3 日
コメント済み: Rafael Gallego 2019 年 6 月 14 日
When I try to create a symbolic variable setting an assumption I get an error.
syms x real
Error using strjoin (line 19)
Expected input to be one of these types:
char
Instead its type was string.
Error in setToMuPADSet (line 8)
mset = strjoin(S, " intersect ");
Error in sym/assume (line 586)
mset = setToMuPADSet(S);
Error in syms (line 261)
assume(xsym, control); % overrides former assumptions of xsym
No issues if no assumption is set.

回答 (1 件)

Mohammad Alhashash
Mohammad Alhashash 2019 年 6 月 4 日
Then try this one
syms x
assume(x,'real')
  1 件のコメント
Rafael Gallego
Rafael Gallego 2019 年 6 月 14 日
I get the same error

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

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by