Symbolic Integration question: answer still contains the integrated variables

Hello All,
Im trying to calculate the symbolic integral of a function:
THis is my code:
syms omega;
fun = 1 ./ (2 .* pi).* omega_bar.^2 .* P .* exp(-1i .* omega .* t);
A = int(fun, 0, inf);
In this code 't' is an array t = (-0.4: 0.01: 0.4) .* 1e-12;
My problem is, the answer A is of the following form (This answer is actually one of the entries of the array A)
A(1) = limit(- (12767604380008764342331373284761730303205493177*i)/(131072*exp(omega^2/9869604) .... (this is a truncated answer, since the actual answer is too long)
My question is:
1. Why is there a limit term, and how do I get the answer from here?
2. WHy is there omega still in the answer?
Thanks for anyone who can give me an idea how to solve this.
Cheers!

Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Asked:

on 9 Aug 2012

Community Treasure Hunt

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

Start Hunting!