need syntax

2 ビュー (過去 30 日間)
shriya
shriya 2012 年 2 月 29 日
need syntax for adding and removing cyclic prefix
  2 件のコメント
Oleg Komarov
Oleg Komarov 2012 年 2 月 29 日
http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer
Walter Roberson
Walter Roberson 2012 年 2 月 29 日
See also Sana's identical question,
http://www.mathworks.com/matlabcentral/answers/30436-how-to-add-cyclic-prefix-i-want-codings-to-add-it

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

採用された回答

UJJWAL
UJJWAL 2012 年 2 月 29 日
Hi, Since you mentioned that you just have to add the cyclic prefix, I am writing a code to add the cyclic prefix. The code can be shortened further. I have written in this way just for step-by-step illustration.
clc;
clear all;
length_message = 100;
message = randint(1,length_message,4); %Assuming QPSK symbols
length_cyclic = 20;
starting = length_message - length_cyclic + 1;
cyclic_prefix = message(starting : end);
prefixed = horzcat(cyclic_prefix,message);
The removal of Prefix I leave on you. It is quite elementary and involves just matrix indexing. Accept the answer if you find it useful

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by