Changing the datarate without changing the data

1 回表示 (過去 30 日間)
Ijjada Hari
Ijjada Hari 2022 年 1 月 3 日
コメント済み: Ijjada Hari 2022 年 1 月 3 日
In one of my implementation in simulink,after processing the incoming data i have 6400 bps(bitspersec) data .How can i make it to 7200 bps data without doing any padding or interpolation.
1) is it possible to increase the data rate without any padding or interpolation ?
2) is there any way like storing the incoming data(6400 bps) in some register in simulink and read the same data at 7200 bps ?
3) or is there any other way ?

回答 (1 件)

Walter Roberson
Walter Roberson 2022 年 1 月 3 日
If the input data is finite and known length, then you could store it all, and then transmit at the required rate.
If the input data is finite and known length, then there is a portion of it that you could store first, and start transferring after a delay, such that you finish transmitting the final bit 1/7200 after it is received.
If the input is unknown finite length you would need a method of storing it all before transferring, even if that was hundreds of years worth of data.
If the input is continuous and effectively infinite, then no there is no way to solve the problem unless the transmission method is able to distinguish "no data" and you are willing to say that sending no data for a period is different than "padding".
  1 件のコメント
Ijjada Hari
Ijjada Hari 2022 年 1 月 3 日
input data is finite and i know the length, the problem i am facing is i am not able to find the block which i can use to store the incoming data and set the outgoing data rate. can you please suggest the block which will help me ?
i tried to use the buffer block , for higher rate to lower rate transmission it is working fine by giving required size output but when i am trying to use it for lower rate to higher rate trasmission it is not giving expected output.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSignal Attributes and Indexing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by