'solve': simple functions throw geteqns lne 404 error
Show older comments
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 Comments
Walter Roberson
on 3 Nov 2020
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
on 3 Nov 2020
Denis Bidinost
on 3 Nov 2020
Denis Bidinost
on 3 Nov 2020
Accepted Answer
More Answers (0)
Categories
Find more on Calculus in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!