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

The limits are from 0 to 1. I tried using 'integral' function, but it gave me the error.

回答 (1 件)

Chibuzo Nnonyelu
Chibuzo Nnonyelu 2016 年 2 月 4 日
Have you tried the int function? Find the documentation below:

4 件のコメント

yp..i tried using int. But its not working
Here is the file.
Please show your attempt together with the error you encoutered.
nikita dighe
nikita dighe 2016 年 2 月 6 日
編集済み: Walter Roberson 2016 年 2 月 6 日
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 ExchangeProgramming についてさらに検索

タグ

質問済み:

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