I can not solve a simple equation solve(sin(x)==1,x)
Show older comments
syms x
solve(sin(x)==1,x)
ans =
Empty sym: 0-by-1
why?
2 Comments
Walter Roberson
on 6 Nov 2016
Which MATLAB release are you using? For me in R2016b it responds with pi/2
Lingzi Wang
on 7 Nov 2016
Answers (2)
Steven Lord
on 6 Nov 2016
Make sure you haven't created your own sin.m file.
which -all sin
1 Comment
Lingzi Wang
on 7 Nov 2016
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!