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

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

?? eqber_graphics.m

?? 均衡技術的仿真實現
?? M
?? 第 1 頁 / 共 2 頁
字號:
function varargout = eqber_graphics(plotType, varargin)% EQBER_GRAPHICS - Generate and update plots for the eqber demo.%   [hBER, hLegend, legendString, hLinSpec, hDfeSpec, hErrs, ...%       hText1, hText2, hFit, hEstPlot] = ...%       eqber_graphics('init', chnl, EbNo, idealBER, nBits)%   generates handles to be used later in the simulation run.%   Inputs:%      chnl         - channel impulse response%      EbNo         - vector of Eb/No values%      idealBER     - ideal BPSK BER values corresponding to the EbNo vector%      nBits        - number of bits in a data block%   Outputs:%      hBER         - handle to a line in the BER plot%      hLegend      - vector of handles corresponding to visible legend entries %                     in the BER plot%      legendString - cell array of legend strings for the BER plot%      hLinSpec     - line handle for the spectrum plot of the linearly %                     equalized signal%      hDfeSpec     - line handle for the spectrum plot of the DFE equalized%                     signal%      hErrs        - line handle to a bar plot showing burst error performance%      hText1       - first text handle for the burst error plot%      hText2       - second text handle for the burst error plot%      hFit         - line handle for fitted BER curves%      hEstPlot     - line handle for the channel estimate plot%%%   hSpecPlot = eqber_graphics('sigspec', eqType, hSpecPlot, nBits, PreD)%   updates the spectrum plots for adaptively equalized signals.%   Inputs:%      eqType       - 'linear', 'dfe', or 'mlse'%      hSpecPlot    - line handle for the spectrum plot%      nBits        - number of bits in a data block%      PreD         - equalized, predetected signal%   Outputs:%      hSpecPlot - line handle for the spectrum plot%%%   [hErrs, hText1, hText2] = eqber_graphics('bursterrors', eqType, ...%      mlseType, firstErrPlot, refMsg, testMsg, nBits, hErrs, hText1, hText2)%      updates the burst error performance plots.%   Inputs:%      eqType       - 'linear', 'dfe', or 'mlse'%      mlseType     - 'ideal' or 'imperfect'%      firstErrPlot - flag indicating whether the current plot is the first %                     burst error performance plot for the current equalizer%      refMsg       - transmitted signal, used to find bit errors%      testMsg      - received signal, used to find bit errors%      nBits        - number of bits in a data block%      hErrs        - line handle to a bar plot showing burst error performance%      hText1       - first text handle for the burst error plot%      hText2       - second text handle for the burst error plot%   Outputs:%      hErrs        - line handle to a bar plot showing burst error performance%      hText1       - first text handle for the burst error plot%      hText2       - second text handle for the burst error plot%%%   [hBER, hLegend, legendString] = eqber_graphics('simber', eqType, ...%      mlseType, firstBlk, EbNoIdx, EbNo, BER, hBER, hLegend, legendString)%      updates the BER plot.%   Inputs:%      eqType       - 'linear', 'dfe', or 'mlse'%      mlseType     - 'ideal' or 'imperfect'%      firstBlk     - flag indicating whether the current data block is the%                     first one being processed for the current equalizer type%      EbNoIdx      - index over the range of EbNo%      EbNo         - vector of Eb/No values%      hBER         - line handle to the current line in the BER plot%      hLegend      - vector of handles corresponding to visible legend entries %                     in the BER plot%      legendString - cell array of legend strings for the BER plot%   Outputs:%      hBER         - line handle to the current line in the BER plot%      hLegend      - vector of handles corresponding to visible legend entries %                     in the BER plot%      legendString - cell array of legend strings for the BER plot%%%   hFit = eqber_graphics('fitber', eqType, mlseType, hFit, EbNoIdx, EbNo, BER)%   updates the curve fit to the simulated BER data.%   Inputs:%      eqType       - 'linear', 'dfe', or 'mlse'%      mlseType     - 'ideal' or 'imperfect'%      hFit         - line handle to the current BER curve fit%      EbNoIdx      - index over the range of EbNo%      EbNo         - vector of Eb/No values%      BER          - vector of BER values corresponding to the Eb/No values%   Outputs:%      hFit         - line handle to the current BER curve fit%%%   hEstPlot = eqber_graphics('chnlest', chnlEst, chnlLen, excessEst, ...%   nBits, firstEstPlot, hEstPlot) updates the channel estimate plot for the%   MLSE algorithm.%   Inputs:%      chnlEst      - impulse response of estimated channel%      chnlLen      - length of estimated channel impulse response%      excessEst    - the difference between the length of the estimated channel%                     impulse response and the actual channel impulse response%      nBits        - number of bits in a data block%      firstEstPlot - flag indicating whether the current channel estimate plot %                     is the first one%      hEstPlot     - line handle to the channel estimate plot%   Outputs:%      hEstPlot     - line handle to the channel estimate plot%   Copyright 1996-2004 The MathWorks, Inc.%   $Revision: 1.1.4.1 $  $Date: 2004/06/30 23:03:09 $% ------------------------------------------------------------------------------switch plotType    case 'init'        [chnl, EbNo, idealBER, nBits] = deal(varargin{:});                % Plot the unequalized channel        plot_uneqchnl(chnl);                % Plot the ideal BPSK BER curve        [hBER, hLegend, legendString] = plot_idealber(EbNo, idealBER);                % Initialize a figure to display the linearly equalized signal spectrum        hLinSpec = plot_sigspec('init', 'linear', nBits);                % Initialize a figure to display the DFE equalized signal spectrum        hDfeSpec = plot_sigspec('init', 'dfe', nBits);                % Initialize a figure to display the burst error performance of the        % linear equalizer, DFE equalizer, MLSE equalizer with an ideal channel        % estimate, and an MLSE equalizer with an imperfect channel estimate        [hErrs, hText1, hText2] = plot_bursterrors('init', [], [], []);                % Initialize a dummy line handle for BER curve fitting        set(0, 'CurrentFigure', get(get(hBER, 'Parent'), 'Parent'));        hFit = semilogy(0, 1);                % Initialize a figure to display the frequency response of the imperfect        % channel estimate        hEstPlot = plot_chnlest('init', nBits);                        varargout{1}  = hBER;        varargout{2}  = hLegend;        varargout{3}  = legendString;        varargout{4}  = hLinSpec;        varargout{5}  = hDfeSpec;        varargout{6}  = hErrs;        varargout{7}  = hText1;        varargout{8}  = hText2;        varargout{9}  = hFit;        varargout{10} = hEstPlot;            case 'sigspec'        hSpecPlot = plot_sigspec('update', varargin{:});         varargout{1} = hSpecPlot;            case 'bursterrors'        [hErrs, hText1, hText2] = plot_bursterrors('update', varargin{:});        varargout{1} = hErrs;        varargout{2} = hText1;        varargout{3} = hText2;            case 'simber'        [hBER, hLegend, legendString] = plot_simber(varargin{:});        varargout{1} = hBER;        varargout{2} = hLegend;        varargout{3} = legendString;            case 'fitber'        hFit = plot_fitber(varargin{:});        varargout{1} = hFit;            case 'chnlest'        hEstPlot = plot_chnlest('update', varargin{:});        varargout{1} = hEstPlot;end% ------------------------------------------------------------------------------function plot_uneqchnl(chnl);% PLOT_UNEQCHNL - Plot the frequency response of the unequalized channel%   Inputs:%      chnl - channel impulse response% Generate a normalized frequency vector from -pi to piFFTlen   = 2048;freq = [-FFTlen/2 : (FFTlen/2)-1]' * (2*pi/FFTlen);% Generate the normalized frequency responsechnlLen  = length(chnl);FFTchnl = [chnl; zeros(FFTlen - chnlLen, 1)];magFFT = abs(fft(FFTchnl));plot(freq, 20*log10(fftshift(magFFT/max(magFFT))));axis([-3.14 3.14 -40 10]);pos = figposition([0 45 33 33]);  % for multiple screen resolutionsset(gcf, 'Position', pos);title('Unequalized Channel Frequency Response');xlabel('Normalized Frequency (rad/s)');ylabel('Normalized Magnitude Squared (dB)');drawnow;% ------------------------------------------------------------------------------function [hBER, hLegend, legendString] = plot_idealber(EbNo, idealBER)% PLOT_IDEALBER - Plot the BER for ideal BPSK%   Inputs:%      EbNo         - vector of Eb/No values%      idealBER     - ideal BER values corresponding to the EbNo values%   Outputs:%      hBER         - line handle to the current line in the BER plot%      hLegend      - vector of handles corresponding to visible legend entries %                     in the BER plot%      legendString - cell array of legend strings for the BER plotfigure; pos = figposition([33.3 45 36 36]); figBER = gcf;set(figBER, 'Position', pos);  % for multiple screen resolutionsaxBER = axes;set(axBER, 'YScale'    , 'log', ...           'XLim'      , [0 16], ...           'YLim'      , [1e-6 1], ...           'XTick'     , [0:2:16], ...           'XGrid'     , 'on', ...           'YGrid'     , 'on', ...           'YMinorGrid', 'off', ...           'Title'     , text('String','Equalizer BER Comparison'), ...           'XLabel'    , text('String', 'Eb/No (dB)'), ...           'YLabel'    , text('String', 'BER'));hold on; hBER = semilogy(EbNo, idealBER);legendString = 'Ideal BPSK      ';hLegend = hBER;legend(hLegend, legendString, 'Location', 'SouthWest');drawnow;% ------------------------------------------------------------------------------function h = plot_sigspec(plotType, eqType, varargin)% PLOT_SIGSPEC - Initialize or update a plot of an equalized signal spectrum%   Inputs:%      plotType - 'init' or 'update' %      eqType   - 'linear' or 'dfe'%      h        - line handle to the signal spectrum plot%      nBits    - number of bits in a data block%      PreD     - equalized, predetected signal%   Outputs:%      h        - line handle to the signal spectrum plot        % On initialization, set up all the figure properties and make the figure% invisible.  On update, simply make the figure visible and reset the values of% the plotted data.switch plotType    case 'init'        % Generate a frequency vector        nBits = varargin{1};        freq = [-nBits/2 : 4 : (nBits/2)-1]' * (2*pi/nBits);                figure; h = plot(freq, freq);  % initialize with dummy data        fig = get(get(h, 'Parent'), 'Parent');        set(fig, 'Visible', 'off');        axis([-3.14 3.14 -40 10]);        xlabel('Normalized Frequency (rad/s)');        ylabel('Normalized Power Spectrum (dB)');                if (strcmpi(eqType, 'linear'))            pos  = figposition([0 5 33 33]);            figTitle = 'Linearly Equalized Signal Power Spectrum';            color    = [0 0 0];        elseif (strcmpi(eqType, 'dfe'))            pos  = figposition([33.3 5 33 33]);            figTitle = 'Decision Feedback Equalized Signal Power Spectrum';            color    = [1 0 0];        end        title(figTitle);        set(fig, 'Position', pos);  % for multiple screen resolutions        set(h, 'Color', color);        

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
激情综合色播五月| 欧美成人女星排名| 国产一区在线看| 精品国产一区久久| 91精品国模一区二区三区| 日本韩国欧美在线| 色吊一区二区三区| 欧美亚洲国产一区在线观看网站| 99在线精品视频| 韩国毛片一区二区三区| 国产一区在线观看视频| 国产一二精品视频| 91性感美女视频| 色视频成人在线观看免| 在线观看日韩av先锋影音电影院| 欧美少妇性性性| 自拍视频在线观看一区二区| 日本一区二区久久| 亚洲永久免费av| 午夜精品久久久久久久久久久| 日日夜夜精品免费视频| 久久精品国产99国产精品| 国产高清精品在线| 色激情天天射综合网| 日韩一区二区在线看片| 中文字幕精品综合| 亚洲一区二区三区视频在线| 另类中文字幕网| 成人久久久精品乱码一区二区三区| 91美女在线视频| 日韩一区二区免费视频| 另类调教123区| 国产一区在线观看视频| 欧美亚洲综合另类| 久久女同性恋中文字幕| 亚洲一区二区四区蜜桃| 国产又黄又大久久| 欧美无砖砖区免费| 国产亚洲短视频| 亚洲国产sm捆绑调教视频| 国产成人综合在线| 91精品国产综合久久精品| 日本一区二区动态图| 日本欧美加勒比视频| 日本乱人伦一区| 久久精品在线观看| 精品一区二区三区久久| 在线视频一区二区三| 欧美国产日韩精品免费观看| 五月天婷婷综合| 一本一道综合狠狠老| 日韩欧美中文字幕公布| 亚洲综合男人的天堂| 白白色 亚洲乱淫| 精品国产一区久久| 美女视频网站黄色亚洲| 欧美无乱码久久久免费午夜一区| 欧美激情在线看| 韩国女主播一区| 日韩欧美国产综合| 天堂一区二区在线| 午夜欧美一区二区三区在线播放| 成人免费看视频| 制服丝袜中文字幕亚洲| 丝袜美腿亚洲色图| 欧美猛男超大videosgay| 亚洲韩国一区二区三区| 欧美亚洲愉拍一区二区| 一区二区三区高清在线| 一本色道久久综合亚洲aⅴ蜜桃 | 成人免费av在线| 精品国产91九色蝌蚪| 蜜乳av一区二区| 在线观看91av| 亚洲最快最全在线视频| 亚洲国产aⅴ天堂久久| 中文字幕佐山爱一区二区免费| 日本一区二区视频在线| 91国在线观看| 亚洲亚洲人成综合网络| 国产午夜精品久久久久久久 | 丁香激情综合五月| 性做久久久久久久久| 亚洲国产精品传媒在线观看| 欧美另类videos死尸| 99精品黄色片免费大全| 国产精品亚洲第一区在线暖暖韩国| 视频一区二区三区中文字幕| 亚洲色图视频免费播放| 国产视频911| 精品国产伦一区二区三区观看方式 | 国产风韵犹存在线视精品| 午夜精品福利一区二区蜜股av| 国产精品久久毛片| 久久综合色鬼综合色| 日韩一区二区在线观看视频播放| 99热在这里有精品免费| 成人午夜免费视频| 国产一区二区三区蝌蚪| 日日夜夜免费精品| 亚洲一卡二卡三卡四卡无卡久久| 久久只精品国产| 日韩欧美成人午夜| 日韩欧美国产小视频| 欧美精品高清视频| 欧美日韩欧美一区二区| 亚洲精品国产品国语在线app| 国产精品免费av| 中文字幕制服丝袜一区二区三区| 国产精品网站在线播放| 国产精品天美传媒| 中文字幕在线免费不卡| 1024成人网色www| 国产精品乱人伦一区二区| 国产午夜精品美女毛片视频| 欧美激情一区二区三区全黄| 国产欧美日韩综合精品一区二区| 久久午夜免费电影| 国产精品嫩草影院av蜜臀| 最新日韩在线视频| 亚洲精品国产品国语在线app| 亚洲制服欧美中文字幕中文字幕| 亚洲国产另类精品专区| 日韩电影免费一区| 久久狠狠亚洲综合| 国产一区二区三区四| 成人激情文学综合网| a4yy欧美一区二区三区| 欧美日韩在线播放三区四区| 日本精品视频一区二区| 欧美福利视频一区| 欧美成人精品1314www| 国产视频一区不卡| 亚洲一区二区高清| 美女国产一区二区| 成人午夜av影视| 欧美色手机在线观看| 日韩精品专区在线影院观看| 国产日本欧美一区二区| 一区二区三区在线视频免费 | 日韩精品专区在线影院重磅| 国产午夜精品美女毛片视频| 亚洲最大成人网4388xx| 蜜乳av一区二区| 91色porny| 日韩精品专区在线| 亚洲男帅同性gay1069| 日本中文一区二区三区| 岛国av在线一区| 韩国三级电影一区二区| 成人黄色777网| 91精品国产黑色紧身裤美女| 欧美国产精品中文字幕| 日韩国产欧美在线观看| 成人av网址在线| 日韩一区二区在线观看视频 | 久久精品一区二区| 亚洲国产视频在线| 高清视频一区二区| 在线不卡欧美精品一区二区三区| 国产网红主播福利一区二区| 亚洲国产成人精品视频| 成人免费毛片app| 欧美不卡123| 婷婷一区二区三区| 99久久久免费精品国产一区二区| 精品久久一区二区三区| 亚洲一区电影777| 成人丝袜18视频在线观看| 日韩欧美亚洲一区二区| 亚洲一二三四久久| 99视频有精品| 高清成人免费视频| 欧美一区永久视频免费观看| 亚洲视频中文字幕| 高清国产一区二区三区| 2019国产精品| 日本视频中文字幕一区二区三区| 在线亚洲欧美专区二区| 国产精品三级av| 风间由美性色一区二区三区| 精品不卡在线视频| 日本不卡免费在线视频| 欧美日韩色一区| 亚洲精品视频在线| 色成年激情久久综合| 亚洲日本中文字幕区| 99久久99精品久久久久久| 国产视频一区在线播放| 国产一区 二区| 国产欧美一区二区精品久导航| 国产一区亚洲一区| 久久婷婷国产综合国色天香 | 精品国产乱码久久久久久牛牛| 天堂精品中文字幕在线| 欧美日本国产视频| 51午夜精品国产| 亚洲日韩欧美一区二区在线| 97se亚洲国产综合自在线| 日韩一区在线看|