exponential with fuction integrate

2 views (last 30 days)
Hi guys,
I have a problem here, i trying to integrate the fuction exp^(-j*k*w*t) and its returning to me: F =-1/(T*exp^(j*k*t*w)*j*k*t*log(exp))
On matlab:
syms t k w exp j T;
F = (1/T)*int(f)
What im doing wrong ?
Thanks,

Accepted Answer

Star Strider
Star Strider on 21 May 2019
You need to remove ’exp’ and ‘j’ from your syms call:
syms t k w T
You want to use the function exp, and the imaginary operator j, so do not use them as variables. (Also, using 1j removes any additional ambiguity.)

More Answers (0)

Community Treasure Hunt

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

Start Hunting!