function discrete Time-integrate with a variable
3 次查看(过去 30 天)
显示 更早的评论
Hello,
I wanna to integrate a function with a variable.
E.g. f(x) = sin(10-x)
But i dont know how i can do it when i have a variable.
Can u guys help me???
THX
1 个评论
回答(1 个)
Roger Stafford
2013-9-6
For functions which are only known at discrete points, use matlab's 'trapz' function.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!