# Definite integral with an exponential

6 views (last 30 days)

Show older comments

Pilar Jiménez
on 18 Jan 2017

Commented: Star Strider
on 23 Jan 2017

### Accepted Answer

Star Strider
on 18 Jan 2017

Your question seems to have changed. With respect to ‘wn(t)’ see my Comment in your original Question.

Try this:

syms wn t u_lim wn(t)

wn(t) = sym(1);

f = wn*exp(1i*2.*pi*t);

cplx_int = int(f, t, 0, 0.9)

cplx_int_n = vpa(cplx_int)

abs_cplx_int_n = abs(cplx_int_n)

cplx_int =

-(5^(1/2)*1i + (10 - 2*5^(1/2))^(1/2) - 3i)/(8*pi)

cplx_int_n =

- 0.093548928378863903321291906615298 + 0.03039588939177436951706748797891i

abs_cplx_int_n =

0.098363164308346596734748787414694

##### 4 Comments

Star Strider
on 23 Jan 2017

My pleasure.

If my Answer helped you solve your problem, please Accept it!

### More Answers (0)

### See Also

### Categories

### Community Treasure Hunt

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

Start Hunting!