⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 estimate.m

📁 64路OFDM系统MATLAB仿真
💻 M
字号:




function [estimate]=estimate(ffthou,gujifangshi)

if gujifangshi==1
weizhi2=[1 10 19 28 37 46 55 64];
train=ffthou(weizhi2 );%%%%%%%%%%%取出训练序列
for i=2:2:8
    train(i)=-train(i);
end
train=train/3;
temp_train=ifft(train,8);

temp_estimate=zeros(64,1);
temp_estimate(1:4)=temp_train(1:4);
temp_estimate(61:64)=temp_train(5:8);

estimate=fft(temp_estimate,64);
else
  weizhi2=[1 10 19 28 37 46 55 64];
train=ffthou(weizhi2 );%%%%%%%%%%%取出训练序列
for i=2:2:8
    train(i)=-train(i);
end


for i=1:7
    for j=1:8
            temp_temp=(train(i+1)-train(i))/9;
         estimate(i*8+j-8)=train(i)+temp_temp*j;%%%%得到56个修正值
 end
end  
    
    
    
    
    
    
    
end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -