different sample times for variable-sized vectors

1 Ansicht (letzte 30 Tage)
Owen
Owen am 14 Nov. 2012
Hi,
I must transmit variable-sized frame based vectors (10x1 and 5x1) over a communication channel.
Now I have two alternatives about the sample time of these frame based vectors.
1. Their sample times of frame are the same, but the sample times of each elements are different.
Sample time of elements in vector 5x1 = 2 * sample time of elements in vector 10x1
2. The sample time of each elements is the same, but there will be 2 sample times in the Simulink model.
Sample time of frame 10x1 = 2 * sample time of frame 5x1
Could anybody suggest which way I shall go?
Thanks Senmeis

Antworten (1)

Azzi Abdelmalek
Azzi Abdelmalek am 16 Nov. 2012
I did'nt exactly understand the problem, but I think with a ZOH block you can set different step size.

Kategorien

Mehr zu Simulink 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