I can not solve a simple equation solve(sin(x)==1,x)

2 次查看(过去 30 天)
syms x
solve(sin(x)==1,x)
ans =
Empty sym: 0-by-1
why?

回答(2 个)

Steven Lord
Steven Lord 2016-11-6
Make sure you haven't created your own sin.m file.
which -all sin

Robert
Robert 2016-11-6
I am on 2016b i also received pi/2

类别

Help CenterFile Exchange 中查找有关 Numerical Integration and Differential Equations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by