Cyclic Spectrum (Spectral Correlation Function) of OFDM Signal

35 vues (au cours des 30 derniers jours)
Madania Nia
Madania Nia le 7 Mar 2020
Modifié(e) : Madania Nia le 7 Mar 2020
can anyone provide me some code to find cyclic spectrum of OFDM signal? i've try it using my code as seen below, when the input is noise only the output is noise. But when the input is OFDM Signal the output is still give me noise only. I want the output like this picture. thank you.
clc;
clear all;
close all;
%% Some signals
NS=100000;
x = sqrt(10).*(randn(NS,1)+1i*randn(NS,1));
%% calculate the FFT
P_paralel=reshape(x,100,1000);
P_fft=zeros(100,1000);
for k=1:1000
P2=fft(P_paralel(:,k));
P_fft(:,k)=P2;
end
%% calculate autocorrelation function
P_fft1=fftshift(P_fft,1);
P_paralel1=P_fft1';
P_tensor=zeros(100,100,1000);
for i=1:1000
P1=P_fft1(:,i)*P_paralel1(i,:);
P_tensor(:,:,i)=P1;
end
P_abs=abs(P_tensor);
P_mean=mean(P_abs,3);
figure(1)
surf(P_mean)

Réponses (0)

Catégories

En savoir plus sur Signal Reception and Recovery dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by