Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
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)

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by