Hii..can i get any help to write the code for the integral equation attached in file below in matlab?

답변 (1개)

Have you tried the int function? Find the documentation below:

댓글 수: 4

yp..i tried using int. But its not working
Please show your attempt together with the error you encoutered.
I tried the solution for first equation as,
T=(1+(Qe1*S(r)));
fun = @(r) Bfr.*log2(1+(Qe1./((r.^alpha).*(T))));
B1 = integral(@(r)fun(r),0,0.5)
Cfr=(2*pi)*B1;
where, Qe1= -1.9111e+02 + 1.3644e+01i
then m getting B1 as, B1=6.8680e+07 + 3.8054e+04i and Cfr as, Cfr= 4.3153e+08 + 2.3910e+05i which is value of capacity. But how to convert it into signle value?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Programming에 대해 자세히 알아보기

태그

질문:

2016년 2월 4일

편집:

2016년 2월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by