亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? transmit.m

?? This simulation script set allows for an OFDM transmission to be simulated. Imagetx.m generates th
?? M
字號:
function BaseSignal = transmit(Datatx,ifftsize,carriers,...
		      wordsize,guardtype,guardtime,windowtype,DataAvg)
%TRANSMIT Generates a COFDM waveform from an input data.
%	  function BaseSignal = transmit(DataIn,ifftsize,carriers,...
%		    wordsize,guardtype,guardtime,windowtype,DataAvg)
%
%	  This function generates a COFDM time waveform based on the input parameters
%	  and the data given. The data is transmformed into a single frame COFDM signal. 
%	  This for the simulation of a COFDM phone system.
%	  INPUTS:
%	  ========
%	  Datatx     : Data to transmit in the wordsize given. eg. for wordsize = 2
%		       Data is from 0-3, for wordsize = 8, data is from 0-255
%		       The data should be a single row vector. See convbase.m to
%		       convert from 8bit data to the required wordsize.
%		       e.g. datatx = convbase(datain, 8, wordsize);
%	  ifftsize   : Size of ifft to use for generating the waveform
%	  carriers   : Which carriers to use for the transmission
%	  wordsize   : Number of bits to transmit on each carrier eg. 2 => QPSK
%		       1 => BPSK, 4 => 16PSK, 8 => 256PSK.
%		       Must be one of: 1,2,4 or 8
%	  guardtype  : What type of guard period to use
%		       Options:
%		       0 = No Guard period
%		       1 = zero level guard period
%		       2 = cyclic extension of end of symbols
%		       3 = same as 2 but with the first half of the guard period = zero
%	  guardtime  : Number of sample to use for the total guard time
%	  windowtype : Type of window to apply to the time waveform of the symbol
%		       Options: 
%		       0 = No windowing
%		       1 = Hamming window
%	  DataAvg    : Data Averaging. Number of repeats to send of each data word, so
%		       that the repeats can be combined at the receiver to reduce the 
%		       phase error, and thus to BER. DataAvg = 1 (No duplication)
%			
%	  OUTPUTS:
%	  ========
%	  BaseSignal : This is the output time signal for the COFDM waveform. The format
%		       of the output is a row vector.
%	  Datatx     : Data transmitted. This is the input data (DataIn) converted to 
%		       the number base used for transmission, based on wordsize.
%	  
%	  Copyright (c) Eric Lawrey 1997
%
%	  See:	RECEIVE, RDFILE.

%===============================
%	External Functions Used :
%	None

%===============================
%	Modifications:
%	8/6/97	Redo of the previous simulation script. (based on distort.m)
%	15/6/97	Continuing work on this function, currently not finished
%	16/6/97 Continued work on function, it is now finished and works, but not all 
%		the features have been tested.
%		I have tested the windowing and the zeroed guard period. The code has also
%		been optimized a bit and runs ~10 times faster then it used to, plus
%		it can handle much bigger files (tested upto 87kbytes, wordsize=4), in 35sec
%		It appears to work as a function.
%		The function needs to be changed so that it does not read the file directly
%		but instead get the data as input.
%	17/6/97	Modified the function so that it does read the input file from within 
%		the transmit function. This is so that the file can be read else where
%		then split up into smaller frames, then processed by transmit.
%		Fixed up some logical errors in the program, and removed the output phase
%		variable as it can be easily calculated from the data being transmitted.
%	12/8/97	Changed the input requirements for Datatx. It is now DataIn which is a 
%		serial vector of byte data. The base conversion, reshaping of the data
%		into symbols, and padding of the input data is done by transmit.m. I also
%		data averaging that send duplicates of the data words. The duplicates are
%		sent as the very next data word. (No the best spreading, but easy to do).

%====================
% Initialization
%====================

%rand('seed',3567);
NumCarr = length(carriers);	%find the number of carriers


%=====================
% Apply Data Averaging
%=====================
%Duplicate data to be transmitted, duplicate each dataword having the next carrier
%also transmitting the same data word. This will not give the best diversity
%performance but is the easiest to implement.
DataOut = zerohold(Datatx,DataAvg);

%=============
% Pad the Data
%=============
%Format the input serial data stream into symbols
%Reshape the data to fit the number of carriers
numsymb = ceil(length(DataOut)/NumCarr);

%If the data length is not a multiple of the number of carrier the pad the data
%with zeros
if length(DataOut)/NumCarr ~= numsymb,
	DataPad = zeros(1,numsymb*NumCarr);
	DataPad(1:length(DataOut)) = DataOut;
	DataOut = DataPad;
end

clear DataPad;

%==============================
% Reshape the data into symbols
%==============================
DataOut = reshape(DataOut,NumCarr,numsymb)';	%Reshape the data into symbols

numsymb = size(DataOut,1)+1;	%find the total number of symbols 
				%including the phase reference symbol
%========================================
% Convert to DQPSK & add phase reference
%========================================
PhaseRef = round(rand(1,NumCarr)*(2^wordsize)+0.5);	%generate random phase ref.
DPSKdata = zeros(size(DataOut,1)+1,size(DataOut,2));
DPSKdata(1,:) = PhaseRef;
for k = 1:numsymb-1
	DPSKdata(k+1,:)=rem((DataOut(k,:) + DPSKdata(k,:)-1),(2^wordsize))+1;
end
%clear DataOut;

%=====================================
%Find the required spectrums
%=====================================
[X,Y] = pol2cart(DPSKdata*(2*pi/(2^wordsize)),ones(size(DPSKdata)));
CarrCmplx = X+i*Y;

NegCarriers = ifftsize-carriers+2;	%find the bins for the negative frequency carriers
TxSpectrums = zeros(numsymb,ifftsize);

for k = 1:numsymb
	%Place the carriers used into the full spectrum
	TxSpectrums(k,carriers) = CarrCmplx(k,:);
	TxSpectrums(k,NegCarriers) = conj(CarrCmplx(k,:));
end
clear NegCarriers;
%==================================
%Find the time waveform using IFFT
%==================================
BaseSignal = real(ifft(TxSpectrums'));

clear TxSpectrums;	%Save Memory

%=================================
%Window the signal
%=================================
if windowtype==1
	window = hamming(ifftsize);		%make window
	window2 = zeros(ifftsize,numsymb);
	for k = 1:numsymb-1
		window2(:,k) = window;
	end
	
	BaseSignal = window2.*BaseSignal;	%window the waveform
	clear window2;				%save memory	
	clear window;
end

%=================================
%Add a Guard Period
%=================================
if guardtype~=0
	if guardtype == 1 			%if guard period is just a zero transmission
		BaseSignal=[zeros(guardtime,numsymb);BaseSignal];
	elseif guardtype == 2
		EndSignal = size(BaseSignal,1);	%Find the number of columns in the BaseSignal
		BaseSignal=[BaseSignal((EndSignal-guardtime+1):EndSignal,:); BaseSignal];
	elseif guardtype == 3
		EndSignal = size(BaseSignal,1);	%Find the number of columns in the BaseSignal
		BaseSignal=[zeros(guardtime/2,numsymb); ...
			BaseSignal((EndSignal-guardtime/2+1):EndSignal,:); BaseSignal];
	end	
end

BaseSignal = reshape(BaseSignal,1,size(BaseSignal,1)*size(BaseSignal,2));

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲国产经典视频| 国产一区二区三区在线观看免费| 三级成人在线视频| 国产精品1区2区3区在线观看| 欧美性生活影院| 中文字幕乱码久久午夜不卡| 青青草97国产精品免费观看 | 国产真实乱偷精品视频免| 91丨九色丨国产丨porny| 精品理论电影在线观看| 亚洲成人中文在线| 91麻豆福利精品推荐| 国产欧美一区二区三区在线老狼| 日韩黄色免费网站| 欧美自拍偷拍一区| 亚洲色图在线看| 成人福利视频网站| 久久精品人人做人人综合| 青青草国产成人99久久| 欧美三级视频在线观看| 日韩伦理av电影| jizz一区二区| 国产精品白丝在线| fc2成人免费人成在线观看播放| 精品国产亚洲在线| 麻豆91小视频| 欧美videos大乳护士334| 日韩av中文字幕一区二区 | 亚洲一二三专区| 91小视频在线观看| 亚洲欧美怡红院| 97精品电影院| 亚洲精品乱码久久久久久| voyeur盗摄精品| 亚洲女与黑人做爰| 91亚洲精品乱码久久久久久蜜桃| 亚洲欧洲色图综合| 91美女视频网站| 亚洲在线视频免费观看| 在线一区二区三区做爰视频网站| 亚洲精品精品亚洲| 欧美性三三影院| 午夜成人免费视频| 日韩欧美国产一区二区在线播放| 蜜臀精品久久久久久蜜臀| 精品国产伦理网| 粉嫩绯色av一区二区在线观看| 国产女同互慰高潮91漫画| 99视频在线精品| 亚洲成人tv网| 欧美变态口味重另类| 国产69精品久久久久777| 中文字幕在线观看不卡视频| 97精品久久久久中文字幕| 亚洲va欧美va天堂v国产综合| 911国产精品| 国产成人一区在线| 亚洲精选在线视频| 日韩欧美国产一二三区| 丁香天五香天堂综合| 一区二区三区免费| 亚洲精品一区二区三区香蕉| 成人高清视频在线观看| 亚洲成人中文在线| 久久久国产午夜精品 | 欧美三级中文字幕| 韩国中文字幕2020精品| 亚洲欧美综合色| 欧美肥妇毛茸茸| 福利91精品一区二区三区| 亚洲国产综合在线| 国产清纯白嫩初高生在线观看91| 欧美视频你懂的| www.亚洲免费av| 蜜臀av性久久久久av蜜臀妖精| 国产精品热久久久久夜色精品三区| 欧美色偷偷大香| 粉嫩欧美一区二区三区高清影视| 亚洲成a人片综合在线| 欧美国产欧美综合| 日韩一区二区在线观看视频播放| 99在线精品观看| 国产一区不卡在线| 午夜欧美一区二区三区在线播放| 国产丝袜欧美中文另类| 欧美一级片免费看| 日本伦理一区二区| 国产99久久久国产精品潘金网站| 天使萌一区二区三区免费观看| 国产精品国产三级国产a| 日韩一区二区影院| 欧美性猛交xxxx乱大交退制版 | 婷婷久久综合九色综合伊人色| 日本一区二区免费在线观看视频| 欧美久久久久久久久久| 91日韩在线专区| 丁香六月综合激情| 国产一二三精品| 美国精品在线观看| 日韩高清国产一区在线| 亚洲综合视频在线观看| 亚洲视频一区二区免费在线观看| 欧美精品一区二区三区高清aⅴ | 91亚洲精品乱码久久久久久蜜桃| 国产成人免费网站| 国产激情偷乱视频一区二区三区| 免费日本视频一区| 青青草精品视频| 视频一区二区中文字幕| 亚洲午夜一区二区| 亚洲一区二区视频在线| 一二三区精品福利视频| 国产精品国产馆在线真实露脸| 久久久久久久久久久黄色| 欧美成人免费网站| 精品久久一区二区三区| 国产精品久久久久天堂| 国产欧美精品国产国产专区 | 欧美午夜精品一区二区蜜桃| 91网址在线看| 欧美在线一二三四区| 91电影在线观看| 51精品久久久久久久蜜臀| 日韩网站在线看片你懂的| 日韩欧美国产麻豆| 久久久国产午夜精品| 国产精品亲子伦对白| 亚洲蜜臀av乱码久久精品| 香蕉影视欧美成人| 日本欧美一区二区三区乱码| 久久99精品国产91久久来源| 国内精品写真在线观看| aaa欧美色吧激情视频| 日本道色综合久久| 91精品国产综合久久精品| 欧美tickling网站挠脚心| 日本一区二区综合亚洲| 亚洲免费观看高清完整版在线 | 精品无码三级在线观看视频| 国产麻豆9l精品三级站| av午夜一区麻豆| 欧美精品一级二级三级| 久久精品水蜜桃av综合天堂| 亚洲女人的天堂| 久久精品国产亚洲高清剧情介绍| 国产成人在线免费观看| 欧美午夜电影在线播放| 亚洲精品一区二区三区蜜桃下载 | 日韩精品一区二区三区在线 | 国产91富婆露脸刺激对白| 在线亚洲人成电影网站色www| 欧美人妖巨大在线| 久久人人超碰精品| 一区二区在线免费| 国内精品伊人久久久久影院对白| 色天天综合久久久久综合片| 日韩欧美一级特黄在线播放| 综合色天天鬼久久鬼色| 日本在线不卡视频一二三区| 成人激情视频网站| 欧美老女人在线| 国产精品毛片久久久久久| 午夜视频在线观看一区二区| 国产高清无密码一区二区三区| 在线观看成人免费视频| 日本一区二区三区在线不卡 | 日韩欧美一卡二卡| 一区二区三区国产| 粉嫩久久99精品久久久久久夜| 91精品国产欧美日韩| 亚洲老妇xxxxxx| 成人高清免费观看| 久久奇米777| 蜜臀av性久久久久蜜臀av麻豆| 在线亚洲人成电影网站色www| 国产午夜精品福利| 精品一区二区三区久久| 在线播放中文一区| 一区二区三区小说| 99国产精品久久久久久久久久久| 久久只精品国产| 蜜桃av一区二区| 欧美一区二视频| 蜜桃精品在线观看| 欧美三级电影在线观看| 亚洲色图欧美偷拍| 91尤物视频在线观看| 中国色在线观看另类| 国产精品99久| 国产日韩欧美亚洲| 国产成人av资源| 国产日韩欧美电影| 国产99久久久国产精品潘金 | 一区二区三区在线观看动漫| 成人av资源在线观看| 国产精品色眯眯| 粉嫩av亚洲一区二区图片| 欧美国产日韩在线观看| 国产成人综合视频| 欧美激情资源网|