Is there a method for solving inequalities using the Symbolic Math Toolbox 5.6 (R2011a)?
2 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2011 年 9 月 21 日
編集済み: MathWorks Support Team
2019 年 5 月 16 日
I would like to find a range of "x" that satisfies the following inequality:
x^2 - 4*x + 3 < 0
resulting in, for example,
1 < x < 3
採用された回答
MathWorks Support Team
2019 年 5 月 16 日
編集済み: MathWorks Support Team
2019 年 5 月 16 日
MuPad's SOLVE function can handle inequalities. For example, after typing 'mupad' at the command prompt to bring up the MuPAD window, type
solve(x^2 - 4*x + 3 < 0, x, Real)
The following is returned:
(1, 3)
By including the option "Real", MuPAD limits the solutions to real values of "x". You can exclude the option "Real" if you want to obtain complex solutions.
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!