필터 지우기
필터 지우기

Create symbolic variables with assumptions (syms)

조회 수: 1 (최근 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')

카테고리

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

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by