필터 지우기
필터 지우기

How can I access future samples of a discrete time signal in Simulink?

조회 수: 1 (최근 30일)
Adriaan Sadie
Adriaan Sadie 2018년 3월 15일
Hi
I am busy with a project that implements model predictive control and it uses a reference signal's future sample values, i.e. f(k+1), f(k+2), etc. It is easy to generate and access these values in the MATLAB workspace, since all lines are executed sequentially, e.g. :
  • t = 0:0.02:2;
  • I_a = sine(2*pi*t);
but Simulink solves all blocks at once. I generate the three-phase signals and convert them to alpha-beta format using the gain, and I want to be able to access the k+1, k+2, etc. timesteps of the two output signals I_alpha and I_beta. See the attached image.

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by