필터 지우기
필터 지우기

How Can I create a time varying equation in Simulink?

조회 수: 28 (최근 30일)
Hosein
Hosein 2014년 2월 27일
댓글: Hosein 2014년 2월 27일
Hi
How can I make a time varying equation in Simulink?
p(t) = 10 + 11*exp(−2(t-0.5))− 12*exp(−3 (t-0.5))
thanks a lot.

채택된 답변

Paul
Paul 2014년 2월 27일
Use a clock block for t. The other operations can be done with add, product, gain and math function block for exp.
  댓글 수: 5
Paul
Paul 2014년 2월 27일
Np, another solution would be to use a user defined function (Fcn block) and type the equation with t as input.
Hosein
Hosein 2014년 2월 27일
thanks a lot Pual.

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

추가 답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2014년 2월 27일
You will need
  1. Math function block
  2. clock block
  3. sum block

카테고리

Help CenterFile Exchange에서 General Applications에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by