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

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

?? bpsk.m

?? 此代碼仿真了一個語音輸入輸出系統
?? M
字號:
% BPSK  Generates a BPSK carrier wave based on the binary data
%   that results from the ADC. 
%   The algorithm is based on the fact that the sinusoid created
%   has one iteration of its phase per data bit of the bin_sequence
%   array.  The 0s of the bin_sequence are replaced with -1s and
%   this array is extended to match the size of the sinusoid array.
%   The sinusoid's phase is then shifted by multiplying it with the 
%   resulting array of 1s and -1s to invert the appropriate cycles 
%   of the sinusoid.

%   Completeed: July 24, 2005

%   Terrence Irving
%   2005 NSF REU in SDR
%   Stevens Institute of Technology
%   Hoboken, NJ USA



% Globalize object handles that this component must access.
global bpsk_pb sssa_base done_text_fontsize bpsk_done_dims adc_pb

% Globalize the appropriate data created by this component.
global sinusoid_data carrier bin_sequence

% Change previous button's color (MATLAB 7 precaution).
set(adc_pb, 'backgroundcolor', 'white');
set(adc_pb, 'foregroundcolor', 'black');

disp('Binary sequence input successfully');

% Binary sequence is located in encoded_data (created by ADC).
bin_sequence = encoded_data;

% Get the length of bin_sequence, or the number of data bits contained
% within the binary sequence.
temp = size(bin_sequence);
total_bits = temp(1)
clear temp;

% Create a time vector for the sinusoid, based on the amount of bits
% in the binary sequence.  There should be one period of the sinusoid
% (2*pi) per data bit.
disp('Creating time vector');
t = [0: pi/20: (2*pi)*total_bits];
disp('Time vector created');

% Get the length of the time vector.
temp = size(t);
t_length = temp(1, 2);
clear temp;

% Generate the sinusoid array.
disp('Creating sine vector');
sinusoid_data = sin(t);
disp('Sine vector created');

% Get the length of the sinusoid array.
temp = size(sinusoid_data);
sinusoid_length = temp(1, 2);
clear temp;

% There are 40 data points (array cells) per cycle of the sinusoid.  This
% can be calculated from the time vector, t, and visual inspect confirms
% it.
DP_PER_CYCLE = 40;

% Go through original binary sequence, replacing 0s with -1s.
disp('Replacing 0s with -1s in binary sequence');
for k = 1: total_bits
    if bin_sequence(k, 1) == 0
        bin_sequence(k, 1) = -1;
    end
end
disp('0s replaced in binary sequence');

% Create the extended binary sequence array based on the DP_PER_CYCLE
% concept.  This array will be the same length as the sinusoid data array,
% and the first data cell will contain a 1 (data point of the first cycle
% is in cell 2, not 1--"nothing" is in the first cell).
disp('Allocating memory for extended binary sequence');
bin_sequence_extended = ones(sinusoid_length, 1);
disp('Memory allocated for extended binary sequence');
disp('Placing a 1 in the first cell of the extended binary sequence array');
bin_sequence_extended(1, 1) = 1; % first cell of sinusoid data is "garbage"
disp('1 placed in the first cell of the extended binary sequence array');

% In the extended binary sequence, each bit is repeated 40 times before
% moving on to the next bit.
extd_start_index = 2; % start repeating bits in cell 2 of extd sequence
disp('Creating extended binary sequence array');
for n = 1: total_bits % move through entire binary seqeunce
    extd_stop_index = (DP_PER_CYCLE * n) + 1; % update stop index--stop repeating current bit at 41, 81, 121...
    for m = extd_start_index: extd_stop_index
        bin_sequence_extended(m, 1) = bin_sequence(n, 1); % place the current bit into the extd seq.
    end
    extd_start_index = extd_start_index + DP_PER_CYCLE; % start filling with repeated bits again DP_PER_CYCLE cells down the road
end
disp('Extended binary sequence array created');

% Replace -1s with 0s in the binary sequence.
disp('Replacing -1s with 0s in binary sequence');
for k = 1: total_bits
    if bin_sequence(k, 1) == -1
        bin_sequence(k, 1) = 0;
    end
end
disp('-1s replaced in binary sequence');

% Make the extended binary sequence data a row vector.
bin_sequence_extended = bin_sequence_extended';

% Multiply the extended binary sequence with the sinusoid data to generate
% the BPSK carrier signal.
disp('Creating carrier signal');
carrier = bin_sequence_extended.*sinusoid_data;
disp('BPSK carrier signal created');
disp(' '); % blank line

% Free memory.
clear bin_sequence_extended sinusoid_cycle_index;
clear counter cycle i k m n s t_length test w;
clear DP_PER_CYCLE extd_start_index extd_stop_index t sinusoid_length;

% Change button color and update text when component is finished.
set(bpsk_pb, 'backgroundcolor', 'white');
set(bpsk_pb, 'foregroundcolor', 'black');
bpsk_done = uicontrol(sssa_base,...
    'style', 'text',...
    'fontsize', done_text_fontsize,...
    'foregroundcolor', 'white',...
    'backgroundcolor', [.5 0 0],... % matches background image color
    'horizontalalignment', 'center',...
    'string', 'DONE',...
    'position', bpsk_done_dims); 

% Pause for one second before continuing, giving the button time to update.
pause(1); 

% Continue on.
srrc_trans_filter;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲chinese男男1069| 亚洲激情中文1区| 久久精品人人做| 99免费精品视频| 成人动漫视频在线| 99久久精品国产麻豆演员表| 国产成人精品免费网站| 成人性生交大片免费| 国产91丝袜在线18| 99久久免费国产| 在线视频你懂得一区二区三区| 色综合一区二区| 在线视频一区二区三区| 欧美肥妇bbw| 精品三级av在线| 国产精品免费av| 亚洲黄色在线视频| 日韩中文字幕不卡| 国产日韩欧美高清在线| 欧美成人性福生活免费看| 欧美精品1区2区3区| 日韩亚洲欧美在线观看| 欧美性大战久久久久久久蜜臀| 91精品国产高清一区二区三区蜜臀 | 91精品国产麻豆| 久久久精品免费免费| 中文字幕乱码亚洲精品一区| 亚洲一区二区三区中文字幕 | 奇米影视在线99精品| 久久黄色级2电影| 99精品视频一区| 在线一区二区三区做爰视频网站| 蜜桃av一区二区三区| 无吗不卡中文字幕| 亚洲福利一二三区| 亚洲成av人综合在线观看| 亚洲综合激情网| 亚洲最新视频在线播放| 亚洲激情校园春色| 国产精品美女久久久久久| 一区二区视频在线| 国产麻豆成人精品| 欧美日韩成人综合在线一区二区| 日韩精品中午字幕| 亚洲视频电影在线| 国产综合一区二区| 欧美日本免费一区二区三区| 国产精品久久久久影院老司| 天天综合网天天综合色| av中文字幕不卡| 精品国产麻豆免费人成网站| 亚洲精品一二三| 国产成人自拍网| 99精品在线免费| 欧美吞精做爰啪啪高潮| 6080国产精品一区二区| 欧美精品18+| 日韩毛片精品高清免费| 国产美女一区二区| 精品精品国产高清一毛片一天堂| 亚洲一级在线观看| 91在线观看成人| 欧美韩日一区二区三区四区| 精品综合免费视频观看| 7777女厕盗摄久久久| 夜夜精品浪潮av一区二区三区| 国产精品888| 久久久精品免费观看| 精品一区二区精品| 日韩美女视频在线| 久久99日本精品| 日韩欧美亚洲国产精品字幕久久久| 一二三区精品视频| 欧美日韩国产a| 久久免费的精品国产v∧| 国产精品卡一卡二| 日韩vs国产vs欧美| 国产69精品久久久久毛片| 色综合久久99| 精品国产一区二区三区四区四 | 国产精品国产a级| av资源站一区| 一区二区三区在线播| 91片黄在线观看| 亚洲一区成人在线| 欧美久久久久免费| 另类调教123区| 久久久久亚洲蜜桃| 国产一区二区三区国产| 国产网站一区二区三区| 成人av在线播放网站| 亚洲另类色综合网站| 91传媒视频在线播放| 婷婷成人激情在线网| 日韩一区二区三区免费看| 麻豆国产精品官网| 中文字幕免费不卡| 欧美三级中文字幕| 看电影不卡的网站| 国产日韩欧美精品电影三级在线 | 91超碰这里只有精品国产| 欧美96一区二区免费视频| 久久综合久久99| 97精品久久久午夜一区二区三区 | 精品国产污网站| 成人黄色网址在线观看| 夜夜精品浪潮av一区二区三区| 欧美高清视频www夜色资源网| 乱中年女人伦av一区二区| 国产精品乱码人人做人人爱 | 色欧美88888久久久久久影院| 亚州成人在线电影| 国产欧美日韩三级| 欧美日韩五月天| 成人性视频网站| 麻豆精品新av中文字幕| 一区二区三区在线观看国产 | 在线观看日韩一区| 国模娜娜一区二区三区| 亚洲一区在线观看视频| 国产午夜精品久久久久久免费视| 欧美性大战久久久久久久| 国产成人av影院| 日韩高清在线观看| 亚洲伊人色欲综合网| 久久久www成人免费毛片麻豆| 欧美日韩在线直播| www.欧美.com| 久久精品国产亚洲5555| 夜夜嗨av一区二区三区中文字幕| 国产视频一区二区在线| 欧美精品欧美精品系列| 91影院在线观看| 国产精品1区2区| 美女视频黄久久| 日本不卡视频在线观看| 一区二区三区四区不卡在线| 国产日产精品一区| 精品剧情在线观看| 欧美一级久久久| 91精品福利在线一区二区三区| 91免费精品国自产拍在线不卡| 国产91精品入口| 国产69精品久久99不卡| 国产一区二区按摩在线观看| 亚洲国产日韩精品| 亚洲伦在线观看| 中文字幕亚洲成人| 亚洲激情图片一区| 亚洲欧洲成人自拍| 中文字幕视频一区| 亚洲色图在线视频| 亚洲精品ww久久久久久p站| 亚洲欧洲日韩在线| 亚洲精品日韩综合观看成人91| 自拍视频在线观看一区二区| 国产精品欧美一级免费| 国产精品无圣光一区二区| 国产欧美一区二区精品婷婷 | 欧美视频完全免费看| 欧美日韩和欧美的一区二区| 欧美性大战xxxxx久久久| 欧美日韩中字一区| 在线观看91av| 精品国产一区二区在线观看| 久久伊人蜜桃av一区二区| 久久精品一二三| 国产精品欧美久久久久一区二区| 国产精品国模大尺度视频| 亚洲色图都市小说| 亚洲午夜精品17c| 免费成人美女在线观看| 国产精品99久久久| 91丨九色porny丨蝌蚪| 欧美性生活影院| 欧美成人r级一区二区三区| 国产网站一区二区| 一区二区三区中文字幕精品精品| 午夜精品福利视频网站| 国产在线精品视频| 色噜噜狠狠成人中文综合| 欧美日韩精品一区二区三区四区 | 蜜臀av一区二区在线观看| 高清成人在线观看| 色猫猫国产区一区二在线视频| 欧美人与性动xxxx| 国产欧美日韩视频在线观看| 亚洲综合一区二区精品导航| 美女视频一区二区三区| hitomi一区二区三区精品| 欧美日韩aaaaa| 精品精品国产高清a毛片牛牛| 国产精品天美传媒沈樵| 亚洲高清视频在线| 国产精品一区二区久久精品爱涩 | 成人av在线资源网站| 9191精品国产综合久久久久久 | 欧美在线一区二区| 精品福利一区二区三区免费视频| 国产精品久久久久久久久快鸭|