www.pudn.com > ldpc802.16.rar > up_sampling.m, change:2005-07-25,size:322b


function [data_out]=up_sampling(data_in,up_sampling_rate) 
%This function up-sample a sample to up_sampling_rate parts 
data_out=zeros(size(data_in,1),up_sampling_rate*size(data_in,2)); 
for i=1:size(data_in,2) 
    for j=1:up_sampling_rate 
        data_out(:,(i-1)*up_sampling_rate+j)=data_in(:,i); 
    end 
end