Filter löschen
Filter löschen

How to store scalars(continuous data) as a vector

3 Ansichten (letzte 30 Tage)
V Vaishnavi Kumar
V Vaishnavi Kumar am 27 Okt. 2012
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

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 27 Okt. 2012
Bearbeitet: Azzi Abdelmalek am 27 Okt. 2012
  15 Kommentare
Azzi Abdelmalek
Azzi Abdelmalek am 5 Nov. 2012
Kumar, what do you mean?
V Vaishnavi Kumar
V Vaishnavi Kumar am 5 Nov. 2012
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...?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Event Functions finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by