資源簡介
關于頻偏估計算法的仿真,里面寫的非常詳細,算法的仿真過程,關于OFDM系統里頻偏估計的算法

代碼片段和文件信息
function????ABB_Sample_Data(AfterAD_Data)
%????float_data=AfterAD_Data;
%?????figure;
%?????t=[1:length(AfterAD_Data)];
%?????plot(treal(AfterAD_Data)‘r‘);
????????float_real=[];
????????float_imag=[];
????????fixed_point=[];
????????for?ii=1:169*2
????????????float_real(ii)=real(AfterAD_Data(ii));
????????????float_imag(ii)=imag(AfterAD_Data(ii));
????????end??
????????for?ii=1:169*2
????????????if?(float_real(ii)?>=?0)
????????????????temp?=?round(float_real(ii)*(2^15-1));
????????????????comp?=mod(temp2);
????????????????if?(comp==1)
????????????????????temp=temp+1;
????????????????end
????????????????comp?=?dec2hex(temp4);
????????????else
????????????????temp?=?round(-float_real(ii)*(2^15-1));
????????????????comp?=mod(temp2);
????????????????if?(comp==1)
????????????????????temp=temp+1;
????????????????end
????????????????inver?=?bitxor(temp(2^16-1));
????????????????comp?=?inver?+?1;
????????????????comp?=?dec2hex(comp4);
????????????end
????????????fixed_point?=?[fixed_point;comp];
????
????????????if?(float_imag(ii)?>=?0)
????????????????temp?=?round(float_imag(ii)*(2^15-1));
????????????????comp?=mod(temp2);
????????????????if?(comp==0)
????????????????????temp=temp+1;
????????????????end?????
????????????????comp?=?dec2hex(temp4);
????????????else
????????????????temp?=?round(-float_imag(ii)*(2^15-1));
????????????????comp?=mod(temp2);
????????????????if?(comp==0)
????????????????????temp=temp+1;
????????????????end
????????????????inver?=?bitxor(temp(2^16-1));
????????????????comp?=?inver?+?1;
????????????????comp?=?dec2hex(comp4);
????????????end
????????????fixed_point?=?[fixed_point;comp];
????????end
????????%?write?to?data?file?‘test.hex‘?which?stores?the?fixed?point?data
????????fid2?=?fopen(‘D:\project\dsp_code\dsp_V1.1_AllPass\dat\AfterAD_Data.hex‘‘w‘);
????????for?idx?=?1:size(fixed_point)
????????????fprintf(fid2‘0x%s\n‘fixed_point(idx?:?));
????????end
????????fclose(fid2);
%?????AfterAD_Data=fixed_point;
??
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????2410??2005-06-01?15:18??freq_estimate\dft_est_freq_offset.asv
?????文件??????12620??2005-06-02?18:16??freq_estimate\Fr_estimate.asv
?????文件???????1030??2005-06-02?17:57??freq_estimate\DSP_Scaling_Filter.m
?????文件???????4440??2005-06-02?17:33??freq_estimate\Self_Correlate.m
?????文件???????2669??2005-06-02?17:33??freq_estimate\dft_est_freq_offset.m
?????文件???????1669??2005-06-02?17:22??freq_estimate\UW_Search.m
?????文件???????1598??2005-06-02?16:56??freq_estimate\UW_Search.asv
?????文件??????88576??2005-06-02?16:11??freq_estimate\PR_DFT_result.doc
?????文件???????4328??2005-06-02?15:07??freq_estimate\Self_Correlate.asv
?????文件??????12523??2005-06-02?18:22??freq_estimate\Fr_estimate.m
?????文件???????1758??2005-05-31?17:27??freq_estimate\Get_Sampled_Data.m
?????文件???????1663??2005-05-31?17:22??freq_estimate\Get_Sampled_Data.asv
?????文件?????204598??2005-05-31?17:15??freq_estimate\samples_110slots.dat
?????文件???????1264??2005-05-30?16:18??freq_estimate\float2fixed.asv
?????文件?????301628??2005-05-27?14:13??freq_estimate\sdsp2.dat
?????文件???????4373??2005-05-27?11:37??freq_estimate\PHS_Symbol_Gen.m
?????文件??????11051??2005-05-25?11:29??freq_estimate\signal_simulate.m
?????文件??????10984??2005-05-24?17:00??freq_estimate\signal_simulate.asv
?????文件???????4269??2005-05-24?16:30??freq_estimate\PHS_Symbol_Gen.asv
?????文件???????7330??2005-05-24?14:17??freq_estimate\pr_search.m
?????文件???????1030??2005-05-24?13:54??freq_estimate\DSP_Scaling_Filter.asv
?????文件???????2786??2005-01-27?11:21??freq_estimate\Disp_Freq_Est_Result.m
?????文件???????2479??2005-01-26?10:18??freq_estimate\DSP_UW_Search.m
?????文件???????2153??2005-01-17?16:44??freq_estimate\ABB_Transfer_Data.m
?????文件???????2039??2005-01-17?16:38??freq_estimate\ABB_Sample_Data.m
?????文件???????1859??2005-01-12?14:56??freq_estimate\DSPvsMATLAB_report.m
?????文件???????1264??2003-11-28?17:19??freq_estimate\uw_data_gen.m
?????文件???????1025??2003-11-28?10:38??freq_estimate\fixed2float.m
?????文件???????1264??2003-11-28?10:27??freq_estimate\float2fixed.m
?????文件????????839??2005-09-01?21:24??freq_estimate\gen_audio_sin.m
............此處省略8個文件信息
- 上一篇:計算機網絡第四版特南鮑姆課后答案中文版
- 下一篇:Vio-Jones算法原文
評論
共有 條評論