IET
Decrease font size
Increase font size
Topic Title: IFFT and FFT in OFDM
Topic Summary:
Created On: 17 December 2013 09:28 AM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 17 December 2013 09:28 AM
User is offline View Users Profile Print this message



chamzcob

Posts: 1
Joined: 17 December 2013

I'm developing an OFDM system. I'm in my initial stage. There I have taken 4 transmission symbols. I have done zero padding according to IFFT size and to get a real signal I have taken the symmetry of that. The problem is I'm not receiving the same transmitting bit stream after doing IFFT and FFT. Pls correct my code. Thank You.

clc
close all
clear all

n = 4;
n_bits = 2^n; %Number of bits to process
M = 4; %Size of the signal constellation
m = log2(M); %Number of bits per symbol
IFFT_size = 2^6; %Size of overall usable symbol size (without cyclic prefix)

num_zeros = (IFFT_size/2)-4; %Number of zeros

z_zero =[1;2;3;4;zeros(num_zeros,1)]; %Zero-Padding
z_symmetry = flipud(z_zero); %Taking symmetry to get a real signal
z_full = [z_zero;0;z_symmetry(1:length(z_symmetry)-1)];
subplot(2,1,1);
stem(z_full);

z = ifft(z_full);
w = fft((z));
subplot(2,1,2);
stem(w);
Statistics

See Also:



FuseTalk Standard Edition v3.2 - © 1999-2014 FuseTalk Inc. All rights reserved.