フィルターのクリア

simple inequality check fails - why?

2 ビュー (過去 30 日間)
L. C.
L. C. 2012 年 6 月 27 日
回答済み: timo 2015 年 1 月 2 日
Hi,
I have the simple inequality check for testing purposes in MuPad:
assume(0<x<1)
assumeAlso(0<y<1)
assumeAlso(A>0)
is(1/(1-x) >=1/(1-x*y))
is(A/(1-x) >=A/(1-x*y))
The first check correctly evaluates to TRUE, but the second returns UNKNOWN, however it is obviously true. Am I doing something wrong, or I have reached the limitation of the tool?

回答 (3 件)

Tom
Tom 2012 年 6 月 27 日
You have to split up the comparisons: e.g.:
x > 0 & x < 1
  1 件のコメント
L. C.
L. C. 2012 年 6 月 28 日
Thanks. I tried and nothing has changed. Other ideas? I also tried to introduce an upper bound on A as well to avoid possible mess with infinity, but the result is just the same.

サインインしてコメントする。


Radu Trimbitas
Radu Trimbitas 2014 年 9 月 10 日
Your code works works correctly in MATLAB 2014a.

timo
timo 2015 年 1 月 2 日
For me evaluates to:
TRUE TRUE
in mupad for Symbolic Math Toolbox Version 6.1 (R2014b)

カテゴリ

Help Center および File ExchangeFile Operations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by