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

1 view (last 30 days)
The limits are from 0 to 1. I tried using 'integral' function, but it gave me the error.

Answers (1)

Chibuzo Nnonyelu
Chibuzo Nnonyelu on 4 Feb 2016
Have you tried the int function? Find the documentation below:
  4 Comments
nikita dighe
nikita dighe on 6 Feb 2016
Edited: Walter Roberson on 6 Feb 2016
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?

Sign in to comment.

Categories

Find more on Linear Algebra in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!