'solve': simple functions throw geteqns lne 404 error
Mostra commenti meno recenti
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 Commenti
Walter Roberson
il 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
il 3 Nov 2020
Denis Bidinost
il 3 Nov 2020
Denis Bidinost
il 3 Nov 2020
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Calculus in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!