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.

Adding guard interval in OFDM Matlab simulation

Status
Not open for further replies.

Antonio_Magma

Full Member level 2
Joined
Jun 21, 2005
Messages
136
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,298
Activity points
2,777
ofdm guard interval in matlab

How do i add a guard interval (cyclic prefix) for an OFDM simulation in Matlab?

Coz in matlab the datas are represented in a matrix, however guard interval is in us (micro-seconds)..so how do i code it in matlab? and since the guard interval is a cyclic prefix, how do i copy the end and append it to the front of the OFDM symbol?

Thx in advance...
 

guard intervall matlab

data - [(A)*(symb_duration)x1] data vector in matlab

1) data = reshape(data,symb_duration,[]);

2) data = [data((end-guard_int+1):end,:); data];

3) data = reshape(data,[],1);

that all. now we have the data with the guard interval
 

guard interval in ofdm matlab

bpu said:
data - [(A)*(symb_duration)x1] data vector in matlab

Why is it '-' ? is it typo?

bpu said:
data - [(A)*(symb_duration)x1] data vector in matlab

Does symb_duration mean d lenght of my baseband data?

Which part does the code copies d end of the symbol? Since i need it to be a cyclic prefix

I'm sorry i'm a little weak with these..can u break it down n explain it 2 me? Appreciate it...
 

ofdm matlab simulation

Why is it '-' ? is it typo?

yes. data IS a [(A)*(symb_duration)x1] data vector in matlab.
symb_duration is a duration of the OFDM symbol. duration in any units, i.e. seconds, samples or etc.

Does symb_duration mean d lenght of my baseband data?

What is the d? data vector?

Which part does the code copies d end of the symbol? Since i need it to be a cyclic prefix

2) data = [data((end-guard_int+1):end) ; data];
guard_int is a guard interval duration in any units.

1) break the data vector to OFDM symbols
2) add the guard interval
3) combine OFDM symbols with the guard interval to the data vector
 

matlab guard interval

bpu, i've got it...trial and error...thx man...
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top