Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

cyclic prefix matlab code

Status
Not open for further replies.

army123

Newbie level 4
Joined
Sep 21, 2012
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,318
x=[1 2 3 4]
h=[1 2]

can anyone write code in matlab for x+CP(cyclic prefix) linearly convolved with h
 

x = [1 2 3 4];
h = [1 2];
cp = x(4); % as length(h) = 2
x_with_cp = [x(4) x]; % cp addition
y = conv(x,h);
y_witout_cp = y(2:5);
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top