小白求教MATLAB如何定义两个变量a、b,并且让a>b>0

2024-12-03 16:39:55
推荐回答(1个)
回答1:

syms
x
a
b
>>
assume(a>b)
>>
assume(b>0)
>>
s=int('log(a*x-b)',b/a,1)
Warning:
Explicit
integral
could
not
be
found.
s
=
int(log(a*x
-
b),
x
==
b/a..1)
就是说,得不出明确结果