Can anyone please help how to simulate closed form expression in Matlab?

2 vues (au cours des 30 derniers jours)
How to simulate closed form expression in Matlab?
  5 commentaires
Dhawal Beohar
Dhawal Beohar le 9 Nov 2020
equation 1 is the closed expression i derived and now i want to simulate in Matlab. I don't know if this is the correct way i am doing.
Dhawal Beohar
Dhawal Beohar le 9 Nov 2020
Modifié(e) : Dhawal Beohar le 9 Nov 2020
i want to calculate closed form expression for the following equation:
; where
in Matlab.

Connectez-vous pour commenter.

Réponse acceptée

Walter Roberson
Walter Roberson le 9 Nov 2020
Ten = sym(10);
N_0 = Ten^sym(-11.4);
PmaxdB = sym(15);
Pmax = Ten.^(PmaxdB/Ten);
syms gamma Qu
assume(Qu < 0)
QoS_Component_u = Ten.^(Qu);
u = QoS_Component_u;
Q = -1/u * log(int(exp(-u*(Pmax*gamma + N_0))*exp(-gamma), gamma, 0, inf));
Qs = simplify(Q);
disp(char(Qs))
(log(10*10^(1/2)*10^Qu + 1) + (10^(3/5)*10^Qu)/1000000000000)/10^Qu
disp(char(vpa(Qs,5)))
(log(31.623*10.0^Qu + 1.0) + 3.9811e-12*10.0^Qu)/10.0^(1.0*Qu)

Plus de réponses (0)

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by