How can i separate real and imaginary part of a function

조회 수: 3 (최근 30일)
Hossein Malekahmadi
Hossein Malekahmadi 2021년 1월 4일
댓글: dpb 2021년 1월 4일
i wanna separate imaginary part and real part of this function
it is actually quantile pareto distribution
x=e - (a*(exp(-pi*k*l*2i)*(1 - F_quantile)^k - 1))/k
real(x)
and this is happening when i use simplify or just real function
ans =
real(e) - real((a*(exp(-pi*k*l*2i)*(1 - F_quantile)^k - 1))/k)
the answer for quantile pareto distribution is correct but with out " (exp(-pi*k*l*2i) " this part. i wanna separate real part for the final answer
also i tried to turn F(x) to x(F) and the matlab give me the answer with imaginary part as well.
the cumulative distribution that i tried to find the quantile is:(F(x) to x(F))
F=1 - ((k*(e - x))/a + 1)^(1/k)

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by