Can anyone please help how to simulate closed form expression in Matlab?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Dhawal Beohar
el 9 de Nov. de 2020
Comentada: Dhawal Beohar
el 9 de Nov. de 2020
How to simulate closed form expression in Matlab?
5 comentarios
Respuesta aceptada
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))
disp(char(vpa(Qs,5)))
Más respuestas (0)
Ver también
Categorías
Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!