Filter löschen
Filter löschen

Create symbolic variables with assumptions (syms)

1 Ansicht (letzte 30 Tage)
Rafael Gallego
Rafael Gallego am 3 Jun. 2019
Kommentiert: Rafael Gallego am 14 Jun. 2019
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.

Antworten (1)

Mohammad Alhashash
Mohammad Alhashash am 4 Jun. 2019
Then try this one
syms x
assume(x,'real')

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by