find a minima in a symbolic equations that have multiple symbolic variables and a stochastic variable

1 visualizzazione (ultimi 30 giorni)
Dear MATLAB representative,
I have a major problem to solve and implement my solution and I believe that I lack in theory or even implementation.
My problem is about RF microwave engineering but I believe it is not essential to explain in detail and I can only explain the mathematics to find a path to solve my problem with your help.
I have sets of equations that usually can be written as :
that have these assumptions:
and : are real and between -1 and +1
: is assumed to be real and positive for simplicity.
: is a complex stochastic variable within the circle one.
as an example, one of the functions is:
My goal is to find the proper and to minimize the effect of on in a symbolic form.
I have an idea that I should take the derivative of with respect to :
Then, assume that it is zero and solve the results to find and .
I am using MATLAB R2019 (symbolic equations) to find the solutions or sets of solutions of and , but Matlab returns "Empty".
Am I on the right track? What do you suggest?
p.s. I attached my code, just in case if it is needed.

Risposte (2)

Sulaymon Eshkabilov
Sulaymon Eshkabilov il 23 Dic 2019
I think the problem in equation diff11 that you are trying to solve it for two unknowns.

Walter Roberson
Walter Roberson il 24 Dic 2019
The conditions are contradictory.
assumeAlso(-1<Gamma_2<1)
assumeAlso(-1<Gamma_1<1)
forces Gamma_1 and Gamma_2 to never be +1 or -1 exactly (only between) but the other equations force either Gamma_1 or Gamma_2 to be -1 exactly.
  3 Commenti
Walter Roberson
Walter Roberson il 26 Dic 2019
if I do not specify the type of symbol, MATLAB assumes that the variable can be complex.
Correct. MATLAB does assume that complex values are possible for the variable, but it does not assume that the variable will definitely have a non-zero real component. For example if it assumed that X was definitely real (and not NaN) then
x<=0 | x > 0
would have to be true, but without the assumption of real,
>> simplify(x<=0 | x > 0)
ans =
in(x, 'real')
This is a conditional test -- that is, the test is true if and only if x is real. It does not assume that x is real-valued; it does not assume that x is complex-valued. There are cases in which it might be able to prove that an expression is real-valued, and if so then it will make analytic simplifications as appropriate. x^2 >= 0 is, for example, not assumed to be definitely true, but if at some point it can prove the expression x is real valued then it will happy simplify that x^2>=0 to true.
Night Elf
Night Elf il 26 Dic 2019
thanks for your answer :).
I am almost convinced that I should rewrite my variable in a complex form and starts from the begining then.
Thanks again.

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by