How to store scalars(continuous data) as a vector

조회 수: 2 (최근 30일)
V Vaishnavi Kumar
V Vaishnavi Kumar 2012년 10월 27일
an embedded matlab function block1 outputs scalars instantaneously, a set of sequential scalar outputs (ex: minimum 3 or more outputs) has to be stored as a vector, embedded fcn block2 accepts vector input and compares the elements in it, how instantaneous scalars can be stored as a vetor

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2012년 10월 27일
편집: Azzi Abdelmalek 2012년 10월 27일
  댓글 수: 15
Azzi Abdelmalek
Azzi Abdelmalek 2012년 11월 5일
Kumar, what do you mean?
V Vaishnavi Kumar
V Vaishnavi Kumar 2012년 11월 5일
my faculty raised this question, when ZOH1 holds the values of three sample, for the next sample time, will it hold the next sample value with out resetting,or wil it have the previous values stored before
I simulated the ZOH1 block with display1 in your model, kept a display2 before ZOH1,
I saw that display1 showed values before simulation finishes, values in display2 were changing,
how it could be interpreted...?

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

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by