'solve': simple functions throw geteqns lne 404 error
이전 댓글 표시
Hello
I am using MATLAB online and the following code throws an error
The same code with ==0 instead of ==1 works fine.
What is the problem?
D
clear all;
clc;
syms x;
[solx, param, cond] = solve(x*cot(x)==1, x, 'ReturnConditions', true);
> In sym/solve (line 317)
In solutionsPS67 (line 4)
Error using sym/solve>getEqns (line 404)
Input argument contains an empty equation or variable.
댓글 수: 4
Walter Roberson
2020년 11월 3일
syms x;
[solx, param, cond] = solve(x*cot(x)==1, x, 'ReturnConditions', true);
works for me online, just saying that there is no explicit solution.
Denis Bidinost
2020년 11월 3일
Denis Bidinost
2020년 11월 3일
Denis Bidinost
2020년 11월 3일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Calculus에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!