integrator block

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)

답변 (1개)

Andreas Goser
Andreas Goser 2012년 1월 30일

0 개 추천

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

Danilo NASCIMENTO
Danilo NASCIMENTO 2012년 1월 30일
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.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Modeling에 대해 자세히 알아보기

제품

태그

질문:

2012년 1월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by