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

조회 수: 1 (최근 30일)
Lingzi Wang
Lingzi Wang 2016년 11월 6일
댓글: Lingzi Wang 2016년 11월 7일
syms x
solve(sin(x)==1,x)
ans =
Empty sym: 0-by-1
why?
  댓글 수: 2
Walter Roberson
Walter Roberson 2016년 11월 6일
Which MATLAB release are you using? For me in R2016b it responds with pi/2
Lingzi Wang
Lingzi Wang 2016년 11월 7일
Thanks. It runs Ok now, after I restart it.

댓글을 달려면 로그인하십시오.

답변 (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에서 Conversion Between Symbolic and Numeric에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by