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

4 visualizaciones (últimos 30 días)
How to simulate closed form expression in Matlab?
  5 comentarios
Dhawal Beohar
Dhawal Beohar el 9 de Nov. de 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 el 9 de Nov. de 2020
Editada: Dhawal Beohar el 9 de Nov. de 2020
i want to calculate closed form expression for the following equation:
; where
in Matlab.

Iniciar sesión para comentar.

Respuesta aceptada

Walter Roberson
Walter Roberson el 9 de Nov. de 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)

Más respuestas (0)

Categorías

Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by