how solve 1 unknown varible function?
이전 댓글 표시
hi, i am new at matlab and i am having troubles with fsolve.
>> fsolve('(2x+4)/(x+2)=5','x') ??? Error using ==> fsolve at 148 FSOLVE only accepts inputs of data type double.
채택된 답변
추가 답변 (1개)
Walter Roberson
2012년 1월 6일
If you have the symbolic toolbox, use solve() instead of fsolve()
solve('(2x+4)/(x+2)=5','x')
카테고리
도움말 센터 및 File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!