Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (4)
earlylate calculation simulation
no vote
% % sim_sym_sync_earlylate.m -- Early-Late sampling time control % Programmed by park close all clear all %******************** Preparation part ************************************* KC = 1;       % 1/0 for timing recovery or not Ns = 80;      % Number of sample times per symbol time Ts = 1; T = Ts/Ns;    % Symbol/Sample time Delay = 3;    % Number of delay symbol times of XMTR filter rof = 0.5;    % Roll-off factor %************************* Filter initialization *************************** % Square Root Raised Cosine Filtering with upsampling of Ns ? P6.1(h) Fd = 1/Ts; Fs = Fd*Ns; SRRC_filter = rcosine(Fd,Fs,'fir/sqrt',rof,Delay); [g,tg] = rcosflt([1],Fd,Fs,'filter',SRRC_filter);       % SRRC
park123
2016-08-23
2
1
doppler channel modeling
4.0
% plot_Jakes_model.m clear all, %close all % Parameters fd=100; Ts=1e-6; % Doppler frequency and Sampling time M = 2^12; t=[0:M-1]*Ts; f=[-M/2:M/2-1]/(M*Ts*fd); Ns = 50000; t_state=0; % Channel generation [h,t_state]=Jakes_Flat(fd,Ts,Ns,t_state,1,0); figure(); %subplot(311), plot([1:Ns]*Ts,10*log10(abs(h))), %title(['Jakes Model, f_d=',num2str(fd),'Hz, T_s=',num2str(Ts),'s']); title(['Jakes Model, f_d=',num2str(fd),'Hz']); axis([0 0.05 -30 10]), xlabel('time[s]'), ylabel('Magnitude[dB]') % subplot(323), hist(abs(h),50); % title(['Jakes Model, f_d=',num2str(fd),'Hz, T_s=',num2str(Ts),'s']); % xlabel('Magnitude') , ylabel('Occasions') % subplot(324), hist(angle(h),50); % title(['Jakes Model, f_d=',num2str(fd),'Hz, T_s=',num2str(Ts),'s']); % xlabel('Phase[rad]'), ylabel('Occasions') % Autocorrelation of channel
park123
2016-08-23
2
1
digital predistortion algorithm simulation
4.0
clear all; close all; clc; signal = OFDM_TX_FRAME(2048,1447,512,12,1) ;   %signal generation s(n) power = mean(abs(signal).^2); % input power backoff_dB = 12.5; % back off in linear scale power_in_dB = 10*log10(power); % Back Off fact_norm = sqrt(10^(-(backoff_dB+ power_in_dB)/10)); % back off gain_imb = .0; % gain imabalance of modulator in linear scale phase_imb = 0; % phase imbalance of modulator in degrees dc_offset = 0.0 + 1i*0.0 ;% dc_offset modulator_in = signal*fact_norm; % variable for storing input signal [PA_input_before_compensation mixer_in] = modulator(modulator_in,gain_imb,phase_imb,dc_offset); % spectrum monitoring % Fs= 7.68e6; % hPsd = spectrum.welch('Blackman',2048); % hopts = psdopts(hPsd); % set(hopts,'SpectrumType','twosided','NFFT',2048,'Fs',Fs,'CenterDC',true); % PSD1 = psd(h
park123
2016-08-23
3
1
polyphase filter simulation
4.0
Polyphase is the way to lead the sample rate conversion
park123
2016-08-23
0
1
No more~