exponential with fuction integrate

2 Ansichten (letzte 30 Tage)
Eduardo Dalmaso
Eduardo Dalmaso am 21 Mai 2019
Beantwortet: Star Strider am 21 Mai 2019
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,

Akzeptierte Antwort

Star Strider
Star Strider am 21 Mai 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.)

Weitere Antworten (0)

Kategorien

Mehr zu Formula Manipulation and Simplification finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by