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

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

?? receive_for_channel2.m

?? 用Matlab實現空時分組編碼對其MIMO系統性能進行分析得出理想的結果
?? M
字號:
function [nr_of_errors_in_rate, theta1, theta2, alpha1, alpha2, sample_nr, indata_est,training1_est,training2_est,i_symbols, q_symbols]=receive_for_channel2(received_vector,training_sequence1,training_sequence2,data_block,fs,T,fc,pulsetype)%   [output1, output2]=functionname(input1, input2)%%	Variable:	Explanation:%	nr_of_errors_in_rate    -   Percent of bits with error%   theta1                  -   the angle estimated by used channel-estimator%   %	received_vector     -   received vector from channel (1x1 experiment)%   training_sequence1  -   used training sequence%   data_block          -   true data-block sent over channel%   fs                  -   used sample-frequency%   T                   -   symbol-time   %   fc                  -   carrier-frequency%   pulsetype           -   used pulsetype, 2 for root-raised-cosine%%   Short Theoretical Background for the Function:%%   Assuming received_vector is normalized and correct size. Two transmitters used!%   Used when doing experiment over real acoustic channel the 27th.%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     %%% Function part of simulation for Space-Time%%% coding project, group Grey-2001.%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   Author: Stefan Uppg錼d%   Date: 27/3-2001%   Version: 1.0%   Revision (Name & Date & Comment):%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%    %%%    %%% Receiving in receive-antenna 1.    %%%    model = 1;    training_length1 = length(training_sequence1);    training_length2 = length(training_sequence2);    %%% Alamouti coding performed on training-sequence???    [training_sequence1, s_antenna2]=alamouti(training_sequence1,1);    [s_antenna1, training_sequence2]=alamouti(training_sequence2,1);    
    receive1 = received_vector;        %%%    %%% Make the signal unbiased, removing the signals mean.    %%%        [receive1]=remove_mean(receive1);        %%%    %%% Down-conversion and lowpassfiltering.    %%%        [quad, inphase]=down_converter(receive1,fc,fs,T,(fc/(fs/2)),20);        figure(2), subplot(2,2,1), plot(1:length(quad),quad);    title('Quad after down-conv.');    subplot(2,2,2), plot(1:length(inphase),inphase);    title('Inphase after down-conv.');             %%%%%%%%    %%%%%%%% Do the frequency-offset compensation if initial-state.    %%%%%%%%        run_offset = 1;    if (run_offset == 0)        [freq_diff, delta_theta, alfa]=freq_offset(inphase, quad, fs, fc)    end        %freq_diff = 0.0237;    %delta_theta = 2*pi*(((1/(1-freq_diff/fc))-1)*fc*(1/(fs*(1-(freq_diff/fc)))));    %delta_theta = 9.3490*10^-6;       % estimated angle-shift/sampel for sinus sampled at 16 kHz.    delta_theta = -2.00000*10^-5;       % estimated angle-shift/sampel for sinus sampled at 8 kHz 2500 carrier freq.        a = 0:(length(inphase)-1);    rotation_vector = exp(-j*a*delta_theta);                               % Rotation compensating vector.         compensated_received = complex(inphase,quad) .* rotation_vector;    inphase = real(compensated_received);    quad    = imag(compensated_received);                %%%    %%% Matchedfiltering and lowpassfiltering.    %%%        [mf_quad_block]=matched_filter(fs, T, pulsetype, quad);    % Quadrature-part    [mf_inphase_block]=matched_filter(fs, T, pulsetype, inphase);    % Inphase-part        subplot(2,2,3), plot(1:length(mf_quad_block),mf_quad_block);    title('Quad after MF');    subplot(2,2,4), plot(1:length(mf_inphase_block),mf_inphase_block);    title('Inphase after MF');            %%%    %%% Performing synchronization    %%%        %[corr_maxi,sample_nri]=synchronization_long(mf_inphase_block, fs, T, training_sequence1, model)  %%% CALLING THE SYNC_LONG FUNCTION!    %[corr_maxq,sample_nrq]=synchronization_longb(mf_quad_block, fs, T, training_sequence1, model)        [corr_maxi,sample_nri,sum_of_r_times_c1i,sum_of_r_times_d2i]=synchronization2(mf_inphase_block, fs, T, training_sequence1, training_sequence2, model);    [corr_maxq,sample_nrq,sum_of_r_times_c1q,sum_of_r_times_d2q]=synchronization2(mf_quad_block, fs, T, training_sequence1, training_sequence2, model);    max_i1 = max(sum_of_r_times_c1i)    max_i2 = max(sum_of_r_times_d2i)    max_q1 = max(sum_of_r_times_c1q)    max_q2 = max(sum_of_r_times_d2q)    corr_maxi    sample_nri    corr_maxq    sample_nrq            if corr_maxq > corr_maxi       % choose the correlation with the biggest max value        sample_nr = sample_nrq;    else        sample_nr = sample_nri;    end            %%%    %%% Down-Sampling    %%%        block_length=length(data_block) + length(training_sequence1) + length(training_sequence2);    [inphase_symbols]=down_sampler(mf_inphase_block,sample_nr,fs,T,block_length);    [quad_symbols]=down_sampler(mf_quad_block,sample_nr,fs,T,block_length);        figure(3), subplot(1,2,2), plot(mf_inphase_block), hold on    for(i=0:block_length-1)        plot(i*(fs*T)+sample_nr,inphase_symbols(i+1),'o');    end    hold off    title('received data and samplepoints. (not yet combined!)');    subplot(1,2,1), stem([training_sequence1 data_block]), title('Sent data.');        figure(4), subplot(1,2,1), plot(inphase_symbols,quad_symbols,'x'), axis([-2 2 -2 2]), title('Signals after MF and sampled')        %%    %% Calculating influence of freq_offset. IS INSTEAD DONE AFTER DOWNCONVERTER.    %%        %[quad_symbols, inphase_symbols, theta]=freq_offset_compensate(quad_symbols,inphase_symbols);    %theta    %figure(7), plot(inphase_symbols,quad_symbols,'x'), axis([-6 6 -6 6]), title('Signals after freq-offset compensation.'), grid on
	    %%%    %%% Estimating Channel 1 and 2.    %%%
               %[alpha1,theta1] = chan_estim5(quad_symbols(1:training_length1),inphase_symbols(1:training_length1),bpsk(training_sequence1,model))    %figure(8), plot(theta1)        [alpha1,theta1] = channel_estimator(quad_symbols(1:training_length1), ...       inphase_symbols(1:training_length1), training_sequence1, model, 1)        if model == 1
       %[alpha2,theta2]=chan_estim5(quad_symbols(training_length1+1:training_length1+ ...       %training_length2),inphase_symbols(training_length1+1:training_length1+ ...       %training_length2), bpsk(training_sequence2,model))               [alpha2,theta2] = channel_estimator(quad_symbols(training_length1+1:training_length1+ ...
       training_length2), inphase_symbols(training_length1+1:training_length1+ ...
       training_length2), training_sequence2, model, 2)    elseif model == 0        alpha2 = 1;        theta2 = 0;    end        q_symbols = quad_symbols;    i_symbols = inphase_symbols;        % set true values instead:    %alpha1 = 1;    %theta1 = 0;    %alpha2 = 1;    %theta2 = 0;    
     %%%
     %%% No combiner used since only 1 antenna is used to send from so far.
     %%%
     
     [combined_signal]=combiner(alpha1(end), theta1(end), alpha2(end), theta2(end), ...
        inphase_symbols, quad_symbols, model);
    figure(4), subplot(1,2,2), plot(combined_signal,'x'), axis([-6 6 -6 6]), title('Signals after combiner, just before detector.')    grid on    
    %%%
    %%% Detector
    %%%
    
    inphase_symbols = real(combined_signal);
            [indata_est,training1_est,training2_est]=detector(inphase_symbols,training_length1,training_length2,model);    disp('Received data is:')
    indata_est;
    disp('Sent data is:')    data_block;    nr_of_errors = sum(abs(data_block-indata_est))    nr_of_errors_in_rate = nr_of_errors/length(data_block)    

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩小视频在线观看专区| 国产成人8x视频一区二区| 欧美亚洲高清一区| 亚洲国产aⅴ天堂久久| 在线欧美日韩精品| 视频一区视频二区中文字幕| 欧美老人xxxx18| 久久国产成人午夜av影院| 久久日韩粉嫩一区二区三区 | 亚洲免费在线视频| 欧美在线一区二区| 日韩国产在线观看| 久久久久久久精| 色综合一个色综合| 午夜精品久久久久久不卡8050| 69av一区二区三区| 国产宾馆实践打屁股91| 亚洲激情第一区| 精品国产伦一区二区三区免费| aaa欧美大片| 婷婷综合在线观看| 国产亚洲福利社区一区| 日本乱人伦一区| 国产原创一区二区三区| 亚洲免费观看高清在线观看| 91精品国产综合久久久蜜臀图片| 懂色av中文字幕一区二区三区 | 欧美α欧美αv大片| 高清不卡一区二区在线| 亚洲一区在线电影| 国产婷婷一区二区| 欧美另类高清zo欧美| 国产成人精品一区二区三区网站观看 | 久久国产精品72免费观看| 中文字幕一区二区三| 日韩一区二区影院| 91首页免费视频| 国产美女视频一区| 五月天国产精品| 亚洲美女在线一区| 久久久久久久精| 欧美一区二区大片| 欧美性大战xxxxx久久久| 国产成人精品午夜视频免费| 天堂在线一区二区| 樱桃视频在线观看一区| 日本一区二区三区国色天香 | 国产 日韩 欧美大片| 日韩高清一区在线| 一区二区三区不卡视频| 国产亚洲欧美色| 欧美一区二区在线观看| 日本韩国欧美在线| 91香蕉视频mp4| www.在线欧美| 成人午夜在线播放| 国产精品1区2区| 狠狠色丁香婷婷综合久久片| 亚洲第一搞黄网站| 亚洲一区二区视频在线观看| 国产精品二区一区二区aⅴ污介绍| 久久亚洲春色中文字幕久久久| 在线不卡免费欧美| 欧美日韩国产免费| 欧美日韩极品在线观看一区| 91亚洲精品久久久蜜桃| www.性欧美| 97se亚洲国产综合自在线| 丁香一区二区三区| 国产成人免费在线| 成人激情校园春色| 99久久亚洲一区二区三区青草| 成人激情免费视频| 91在线播放网址| 91国内精品野花午夜精品 | 欧美色涩在线第一页| 色综合久久久久综合99| 99久久精品国产麻豆演员表| 成人丝袜高跟foot| 97久久超碰精品国产| 99re亚洲国产精品| 亚洲精品一区二区三区99| 欧美一区2区视频在线观看| 欧美一区二区三区免费| 精品国精品自拍自在线| 久久精品综合网| 亚洲欧洲日产国码二区| 自拍偷拍欧美精品| 一区二区三区在线观看视频| 亚洲主播在线播放| 蜜桃精品视频在线| 国产不卡在线视频| 97久久久精品综合88久久| 在线观看www91| 国产精品国产三级国产三级人妇| 中文字幕一区三区| 亚洲高清不卡在线观看| 免费成人性网站| 国产suv精品一区二区6| 99精品视频在线观看免费| 欧美在线不卡一区| 欧美精品一区二区精品网| 久久久久亚洲综合| 一区二区高清在线| 久久精品国产精品青草| 东方aⅴ免费观看久久av| 91福利在线导航| 精品国产一二三区| 成人欧美一区二区三区在线播放| 五月天网站亚洲| 国产sm精品调教视频网站| 在线精品国精品国产尤物884a| 5858s免费视频成人| 久久久精品天堂| 午夜精品久久久久久久蜜桃app | 国产精品1区2区| 欧美性videosxxxxx| 26uuu另类欧美亚洲曰本| 亚洲婷婷综合色高清在线| 青青草91视频| 色综合天天在线| 精品国产一二三区| 亚洲一区二区三区四区在线| 国产一区啦啦啦在线观看| 欧美艳星brazzers| 国产精品另类一区| 美女视频网站久久| 在线观看欧美精品| 欧美激情中文不卡| 老司机精品视频线观看86| 色偷偷久久一区二区三区| 2024国产精品| 五月激情综合婷婷| 91国产免费看| 国产精品久久久久久久久免费丝袜 | 亚洲图片激情小说| 国产麻豆91精品| 91麻豆精品国产无毒不卡在线观看 | 99精品在线观看视频| 亚洲宅男天堂在线观看无病毒 | 国产精品一线二线三线| 欧美日韩一本到| 亚洲欧美日韩在线播放| 国产精品一区二区久激情瑜伽| 91精品欧美一区二区三区综合在| 亚洲日本va在线观看| 国产一区二区电影| 日韩欧美中文字幕一区| 亚洲国产一区在线观看| 99久久精品免费看| 国产精品久久久久久久蜜臀| 久久电影国产免费久久电影| 8v天堂国产在线一区二区| 一区二区三区免费观看| 91麻豆高清视频| 亚洲另类春色校园小说| 成人精品电影在线观看| 日本一区二区成人| 国产成人免费在线| 国产欧美日本一区二区三区| 国精产品一区一区三区mba桃花| 欧美一区二区在线观看| 视频在线在亚洲| 欧美一区二区三区四区五区| 亚洲国产精品影院| 欧美日韩在线不卡| 午夜av区久久| 777午夜精品视频在线播放| 亚洲高清一区二区三区| 欧美日韩精品二区第二页| 五月激情综合婷婷| 日韩欧美黄色影院| 国产一区二区三区日韩 | 日韩一区二区三区视频在线观看| 视频一区二区三区在线| 91精品国产色综合久久不卡蜜臀 | 韩国一区二区三区| 久久综合九色综合欧美98| 蜜桃av噜噜一区二区三区小说| 日韩免费电影一区| 国产一区二区在线影院| 欧美激情艳妇裸体舞| 91亚洲大成网污www| 亚洲精品乱码久久久久久| 欧美视频在线一区二区三区 | 国产精品一区二区三区四区| 国产视频在线观看一区二区三区| 成人小视频免费观看| 自拍视频在线观看一区二区| 在线看日韩精品电影| 蜜桃精品视频在线观看| 国产三级一区二区三区| 99精品欧美一区| 日韩电影一二三区| 国产欧美日韩另类一区| 91麻豆国产精品久久| 日本中文字幕一区二区视频| 久久久99精品久久| 欧美亚州韩日在线看免费版国语版| 日韩国产在线观看|