I can not solve a simple equation solve(sin(x)==1,x)
Mostrar comentarios más antiguos
syms x
solve(sin(x)==1,x)
ans =
Empty sym: 0-by-1
why?
2 comentarios
Walter Roberson
el 6 de Nov. de 2016
Which MATLAB release are you using? For me in R2016b it responds with pi/2
Lingzi Wang
el 7 de Nov. de 2016
Respuestas (2)
Steven Lord
el 6 de Nov. de 2016
Make sure you haven't created your own sin.m file.
which -all sin
1 comentario
Lingzi Wang
el 7 de Nov. de 2016
Robert
el 6 de Nov. de 2016
0 votos
I am on 2016b i also received pi/2
1 comentario
Lingzi Wang
el 7 de Nov. de 2016
Categorías
Más información sobre Symbolic Math Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!