How to make 'solve' work?
古いコメントを表示
Hello, I have just recently started using Matlab and are still learning the basics. I have tried to solve an equation but the 'solve' tool does not seem to work for me. I've put in the following:
solve(cos(x/50)-1/sqrt(2)==10^-3, x)
And it gives me the error: Undefined function or variable 'x'. How am I meant to make it work?
回答 (1 件)
Azzi Abdelmalek
2014 年 12 月 21 日
solve('cos(x/50)-1/sqrt(2)==10^(-3)')
6 件のコメント
Marcus
2014 年 12 月 21 日
Azzi Abdelmalek
2014 年 12 月 21 日
Try this
syms x
solve(cos(x/50)-1/sqrt(2)==10^(-3))
Azzi Abdelmalek
2014 年 12 月 21 日
Try this
syms x
solve(cos(x/50)-1/sqrt(2)==10^(-3))
Azzi Abdelmalek
2014 年 12 月 21 日
Try this
syms x
solve(cos(x/50)-1/sqrt(2)==10^(-3))
Marcus
2014 年 12 月 21 日
Marcus
2014 年 12 月 21 日
カテゴリ
ヘルプ センター および File Exchange で Code Performance についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!