Clear Filters
Clear Filters

function discrete Time-integrate with a variable

2 views (last 30 days)
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

Answers (1)

Roger Stafford
Roger Stafford on 6 Sep 2013
For functions which are only known at discrete points, use matlab's 'trapz' function.
  1 Comment
sia
sia on 7 Sep 2013
But i wanna integrate it in simulink. Is there a block to do it???

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!