Azzera filtri
Azzera filtri

How can I get integral of following function? Matlab is not showing result?

1 visualizzazione (ultimi 30 giorni)
syms p k y
>> z=sqrt((p*exp(-k*y))/(1-(1-p)*exp(-2*k*y)))
z =
((p*exp(-k*y))/(exp(-2*k*y)*(p - 1) + 1))^(1/2)
>> int(z)
ans =
int(((p*exp(-k*y))/(exp(-2*k*y)*(p - 1) + 1))^(1/2), y)

Risposta accettata

madhan ravi
madhan ravi il 22 Ott 2018
Matlabs symbolic engine is not able to solve the integral because the question contains many symbolic variables.
  5 Commenti
dayu
dayu il 22 Ott 2018
Sir, I am getting result as complex numbers. But I am dealing with real numbers. What shall I do?

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by