Verify analytical expression: derivative of an integral with undefined function

2 views (last 30 days)
I’m trying to verify an analytical expression i did by hand. The expression is:
What i think is that the result is just the integral argument evaluated in T, but i’m really not sure. I tried to use diff and int, but i don’t know how to write the function Phi(t).

Accepted Answer

John D'Errico
John D'Errico on 17 Aug 2022
Edited: John D'Errico on 17 Aug 2022
You define a function of a variable as I do here:
syms n omega phi(t) T
diff(int(phi*exp(-i*n*omega*t),[0,T]),T)
ans = 
Looks like you were pretty close after all, but I think you knew that. :)
  6 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by