different sample times for variable-sized vectors

1 回表示 (過去 30 日間)
Owen
Owen 2012 年 11 月 14 日
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

回答 (1 件)

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

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by