Using int for fun.
Show older comments
the question is attached I have to answer, but I'm having problems.
I tried writing like this
fun = @(t,w)exp((-1i).*w.*t);
q=integral(@(t)fun(t,w),-1,1);
int() is recommended, but can it be written like above?
Accepted Answer
More Answers (0)
Categories
Find more on Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!