integrator block

6 views (last 30 days)
Danilo NASCIMENTO
Danilo NASCIMENTO on 30 Jan 2012
Does someone know how I integrate this function in simulink: f(t)=sin(t) within the interval 0 to pi/2? I know in matlab it is this way. >>syms t >>int(sin(t),0,p/2)

Answers (1)

Andreas Goser
Andreas Goser on 30 Jan 2012
Based on your question, I'd say Simulink is not the best tool for this.
But you could. You can e.g. uses a sine wave source block and an integrator block and make sure your simulation stops at pi/2.
  1 Comment
Danilo NASCIMENTO
Danilo NASCIMENTO on 30 Jan 2012
I guess it won't give me the result I want, that is a constant equals to 1. I would give me a chart that varies till one.

Sign in to comment.

Categories

Find more on Simulink Functions in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!