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

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

?? examsigw.m

?? 陣列信號處理的工具箱
?? M
字號:
function [SNR] = examsigw(sigIn, rangeIx, wavefEnds, channel, pulse, procFlags, printFlag, figFileNames, figSize)%EXAMSIGW Examines a received radar signal waveform in various ways.%%--------%Synopsis:%  examsigw(sigIn, rangeIx, wavefEnds)%  examsigw(sigIn, rangeIx, wavefEnds, channel, pulse, procFlags, printFlag,%    figFileNames)%  SNR = examsigw(sigIn, rangeIx, wavefEnds, channel, pulse, procFlags,%    printFlag, figFileNames)%%Description:%  Examines a received radar signal waveform in various ways and plots graphs.%  The frequency spectrum, amplitude, phase and instantaneous frequency%  can be examined.%% Possible processing and plotting:%   (1)  Estimate SNR.%   (2)  Frequency spectrum.%   (3)  Mean value of amplitude.%   (4)  Standard deviation of amplitude.%   (5)  Phases of all pulses.%   (6)  Mean value of phase.%   (7)  Standard deviation of phase.%   (8)  Differences between start phases.%   (9)  Difference between start phase and end phase of previous pulse.%   (10) Estimation of instantaneous frequency. A single pulse.%   (11) Mean value of instantaneous frequency.%   (12) Standard deviation of instantaneous frequency.% Which processings to perform are indivually choosen by the input parameter%   "procFlags". See below.%% (1)  Estimate SNR.%   The ranges 81:256 are assumed to contain only noise.%   The ranges 11:73 are assumed to contain only target signal.%   The SNR is estimated as as the ratio of the mean of the power of the%   target and the mean of the power of the noise in the above range gates.%%Output and Input:%  sigIn (RxRadarSigT): Signal to examine.%  rangeIx (IndexT): What range bins to plot.%  wavefEnds (IndexT): A two element vector with range bin indices for start%    and end of the waveform to examine.%  channel (IntScalarT):%  pulse (IntScalarT):%  procFlags (Vector of BoolT): An integer vector where each element can%    be eather true (=1) or false (=0). True means that the corresponding%    processing (se Description above) shall be done.%  printFlag (BoolT): True (=1) if to print the plotted graphs to files,%    else false (=0).%  figFileNames (StringT): The beginning of the file name when printing%    the plotted graphs to files.%%--------%Notations:%  Data type names are shown in parentheses and they start with a capital%  letter and end with a capital T. Data type definitions can be found in [1]%  or by "help dbtdata".%  [D] = This parameter can be omitted and then a default value is used.%  When the [D]-input parameter is not the last used in the call, it must be%  given the value [], i.e. an empty matrix.%  ... = There can be more parameters. They are explained under respective%  metod or choice.%%Examples:%  examsigw(sig, 9:76, [11 74], 6, 20 ,[0 1 zeros(1,10)],1,'specGraph')%    % examsigw(sigIn, rangeIx, wavefEnds, channel, pulse, procFlags,%    % printFlag, figFileNames, figSize)%%  %See also reference [2] for examples of the use of this function.%%Software Quality:%  (About what is done to ascertain software quality. What tests are done.)%%Known Bugs:%%References:%  [1]: Bj鰎klund S.: "DBT, A MATLAB Toolbox for Radar Signal Processing.%    Reference Guide", FOA-D--9x-00xxx-408--SE, To be published.%  [2]: Bj鰎klund S.: "Inledande radarliknande m鋞ningar med FOA:s%    experimentella digitala gruppantenn", FOA-D--9x-00xxx-408--SE,%    To be published.%%See Also:%  sigplot2, expsig1, simradarsig, compsim4, compsim5%   *  DBT, A Matlab Toolbox for Radar Signal Processing  *% (c) FOA 1994-2000. See the file dbtright.m for copyright notice.%%  Start        : 980710 Svante Bj鰎klund (svabj).%  Latest change: $Date: 2000/11/17 12:45:12 $ $Author: svabj $.%  $Revision: 1.5 $% *****************************************************************************% ----------------------------------------------------------------------- %% Handle input parameters% ----------------------------------------------------------------------- %if (nargin < 3)  error('DBT-Error: To few input parameters.')end% ****************** Add missing input parameters ******************arginNo=4;if (nargin < arginNo)  channel = [];endarginNo = arginNo +1;if (nargin < arginNo)  pulse = [];endarginNo = arginNo +1;if (nargin < arginNo)  procFlags = [];endarginNo = arginNo +1;if (nargin < arginNo)  printFlag = [];endarginNo = arginNo +1;if (nargin < arginNo)  figFileNames = [];endarginNo = arginNo +1;if (nargin < arginNo)  figSize = [];endarginNo = arginNo +1;% ****************** Default values ******************if isempty(channel)  channel = 1;end%ifif isempty(pulse)  pulse = 1;end%ifif isempty(procFlags)  procFlags = ones(1,12);end%ifif isempty(printFlag)  printFlag = 0;end%ifif isempty(figFileNames)  figFileNames = 'examsigw';end%ifif isempty(figSize)  figSize = 8;end%if% ****************** Error check input parameters ******************% ----------------------------------------------------------------------- %% Parameters.% ----------------------------------------------------------------------- %%sig11 = sig;% With this (uncompensated) signal there is small difference of the amplitude levels but the amplitude shapes look the same.%sig11 = sigIn;% With this (compensated) signal there is not notable difference of the amplitude levels or shapes.%rangeIx = 9:76;%wavefEnds = [3 66];waveIx = wavefEnds(1):wavefEnds(2);%printFlag = 0		% 1 = print to eps-files. 0 = do not print.%channel = 6;set(0,'DefaultAxesFontSize',8)set(0,'DefaultAxesFontAngle','italic')plotStartShift = -wavefEnds(1);plotIx = rangeIx + plotStartShift;plotDiffIx = plotIx(1:length(plotIx)-1)+1;plotWaveEnds = wavefEnds + plotStartShift;plotDiffWaveEnds = [plotWaveEnds(1), plotWaveEnds(2)-1];%plotStartIx = -1;%plotStartShift = plotIx + plotStartIx;% ----------------------------------------------------------------------- %% Estimate SNR.% ----------------------------------------------------------------------- %procNo=1;if procFlags(procNo)  %pulse = 20;  %channel = 6;  noisePower = mean(abs(sigIn.signals(pulse,81:256,channel)).^2);    % The ranges 81:256 are assumed to contain only noise.  tgtPower = mean(abs(sigIn.signals(pulse,11:73,channel)).^2);    % The ranges 11:73 are assumed to contain only target signal.  SNR = 10*log10(tgtPower/noisePower)end%if procFlags% ----------------------------------------------------------------------- %% Plot frequency spectrum.% ----------------------------------------------------------------------- %procNo=2;if procFlags(procNo)  specLen = 2048;  fSamp =  1/sigIn.waveform.sampleTime;  %spect = fftshift(abs(fft((sigVec))));  %spect = fftshift(abs(fft(sigIn.signals(10,1:256,channel))));  spect = fftshift(abs(fft(sigIn.signals(10,waveIx,channel),specLen)));  absSpec = abs(spect);  f = linspace(-fSamp/2,fSamp/2,specLen);  figure,plot(f,absSpec/max(absSpec))  plotxline([-fSamp/2, 0, fSamp/2],'r','--')  title('Frequency spectrum')  xlabel('Frequency [Hz]')  ylabel('Normalized spectrum')  if (printFlag)    printfm( [figFileNames, num2str(procNo)],[], figSize)  end%ifend%if procFlags% ----------------------------------------------------------------------- %% Statistical analysis.% ----------------------------------------------------------------------- %sSize = sigsize(sigIn);noPulses = sSize(1);noRanges = length(rangeIx);freqEstMat = zeros(noPulses, noRanges-1);sigAmpMat = zeros(noPulses, noRanges);sigPhaseMat = zeros(noPulses, noRanges);for pulse = 1:noPulses    sigVec = sigIn.signals(pulse,rangeIx,channel);    sigAmpMat(pulse,:) = abs(sigVec);    sigPhaseMat(pulse,:) = unwrap(angle(sigVec));    freqEst = estlocalfreq(sigVec, fSamp);    freqEst = freqEst(:).';    freqEstMat(pulse,:) = freqEst;end%for pulsesigAmpMean = mean(sigAmpMat);sigAmpStd = std(sigAmpMat);sigPhaseMean = mean(sigPhaseMat);%startPhases = sigPhaseMat(:,wavefEnds(1));startPhases = sigPhaseMat(:,3);			% NOTE: Should use a variable						% instead of number constant.startPhasesUW = unwrap(startPhases);startPhasesDiff = diff(startPhasesUW);%r2d(startPhases).'%r2d(startPhasesDiff).'%'a'%wavefEnds(1)%wavefEnds(2)%size(sigPhaseMat)endPhases = sigPhaseMat(:,66);			% NOTE: Should use a variable						% instead of number constant.endPhasesUW = unwrap(endPhases);%diffStartEndPhases = startPhasesUW(2:noPulses) - endPhasesUW(1:noPulses-1);startRangeIx = 3;endRangeIx = 66;diffStartEndPhases = unwrap(angle(sigIn.signals(2:noPulses,startRangeIx,channel) ./ sigIn.signals(1:noPulses-1,endRangeIx,channel)));%r2d(diffStartEndPhases)%endPhasesDiff = diff(endPhasesUW);sigPhaseMat = sigPhaseMat - repmat(startPhases,1 , size(sigPhaseMat,2));sigPhaseStd = std(sigPhaseMat);freqMean = mean(freqEstMat);freqStd = std(freqEstMat);maxSigAmpMean = max(sigAmpMean);%size(maxSigAmpMean)% ----------------------------------------------------------------------- %% Plot mean value of amplitude.% ----------------------------------------------------------------------- %procNo=3;if procFlags(procNo)  figure  plot(plotIx,sigAmpMean/maxSigAmpMean)  xlabel('Time in pulse')  title('Amplitude (mean)')  ylabel('Normalized amplitude')  %ylim([0 0.6e6])  plotxline(plotWaveEnds,'r','--')  % Typical look for several channels.  %if (printFlag)  %  printfm m1079aproc3.eps [] 8  % end%if  if (printFlag)    printfm( [figFileNames, num2str(procNo)],[], figSize)  end%ifend%if procFlags% ----------------------------------------------------------------------- %% Plot standard deviation of amplitude.% ----------------------------------------------------------------------- %procNo=4;if procFlags(procNo)  figure  plot(plotIx,sigAmpStd/maxSigAmpMean)  xlabel('Time in pulse')  title('Amplitude (standard deviation)')  ylabel('Normalized amplitude')  %ylim([0 0.6e6])  plotxline(plotWaveEnds,'r','--')  %if (printFlag)  %  printfm m1079aproc4.eps [] 8  %end%if  if (printFlag)    printfm( [figFileNames, num2str(procNo)],[], figSize)  end%ifend%if procFlags% ----------------------------------------------------------------------- %% Plot phases of all pulses.% ----------------------------------------------------------------------- %procNo=5;if procFlags(procNo)  figure  plot(plotIx,r2d(sigPhaseMat.'))  xlabel('Time in pulse')  title('Phases of all pulses. Normalized start phase.')  ylabel('[degrees]')  %ylim([0 0.6e6])  plotxline(plotWaveEnds,'r','--')  if (printFlag)    printfm( [figFileNames, num2str(procNo)],[], figSize)  end%ifend%if procFlags% ----------------------------------------------------------------------- %% Plot mean value of phase.% ----------------------------------------------------------------------- %procNo=6;if procFlags(procNo)  figure  plot(plotIx,r2d(sigPhaseMean))  xlabel('Time in pulse')  title('Phase (mean)')  ylabel('[degrees]')  %ylim([0 0.6e6])  plotxline(plotWaveEnds,'r','--')  if (printFlag)    printfm( [figFileNames, num2str(procNo)],[], figSize)  end%ifend%if procFlags% ----------------------------------------------------------------------- %% Plot standard deviation of phase.% ----------------------------------------------------------------------- %procNo=7;if procFlags(procNo)  figure  plot(plotIx,r2d(sigPhaseStd))  xlabel('Time in pulse')  title('Phase (standard deviation)')  ylabel('[degrees]')  ymax(2)  %ylim([0 0.6e6])  plotxline(plotWaveEnds,'r','--')  if (printFlag)    printfm( [figFileNames, num2str(procNo)],[], figSize)  end%ifend%if procFlags% ----------------------------------------------------------------------- %% Plot differences between start phases.% ----------------------------------------------------------------------- %procNo=8;if procFlags(procNo)  figure  plot(1:127,r2d(startPhasesDiff.'))  xlabel('Pulses')  title('Diff Start Phases')  ylabel('[degrees]')  %ylim([0 0.6e6])  plotxline(plotDiffWaveEnds,'r','--')  fprintf('Mean of start phase diff %g degrees.\n', ...  r2d(mean(startPhasesDiff)))  fprintf('Standard deviation of start phase diff %g degrees.\n', ...  r2d(std(startPhasesDiff)))  if (printFlag)    printfm( [figFileNames, num2str(procNo)],[], figSize)  end%ifend%if procFlags% ----------------------------------------------------------------------- %% % Plot difference between start phase and end phase of previous pulse.% ----------------------------------------------------------------------- %procNo=9;if procFlags(procNo)  figure  plot(1:127,r2d(diffStartEndPhases.'))  xlabel('Pulses')  title('Diff Start End Phases')  ylabel('[degrees]')  %ylim([0 0.6e6])  plotxline(plotDiffWaveEnds,'r','--')  if (printFlag)    printfm( [figFileNames, num2str(procNo)],[], figSize)  end%ifend%if procFlags% ----------------------------------------------------------------------- %% Plot estimation of instantaneous frequency. A single pulse.% ----------------------------------------------------------------------- %procNo=10;if procFlags(procNo)  sigVec = sigIn.signals(10,rangeIx,channel);  freqEst = estlocalfreq(sigVec, fSamp);  freqEst = freqEst(:).';  len = length(sigVec);  Ts = sigIn.waveform.sampleTime;  t = linspace(0, Ts*len, len);  figure  %plot(t,[0,freqEst])  %xlabel('Time [s]')  plot(plotDiffIx,freqEst/1000)  xlabel('Time in pulse')  title('Frequency estimation')  ylabel('Frequency [kHz]')  ylim([-50 600])  %ylim([0 0.6e6])  plotxline(plotDiffWaveEnds,'r','--')  if (printFlag)    printfm( [figFileNames, num2str(procNo)],[], figSize)  end%ifend%if procFlags% ----------------------------------------------------------------------- %% Plot mean value of instantaneous frequency.% ----------------------------------------------------------------------- %procNo=11;if procFlags(procNo)  figure  plot(plotDiffIx,freqMean/1000)  xlabel('Time in pulse')  title('Frequency estimation (mean)')  ylabel('Frequency [kHz]')  %ylim([0 0.6e6])  ylim([-50 600])  plotxline(plotDiffWaveEnds,'r','--')  % Typical look for several channels.  %if (printFlag)  %  printfm m1079aproc9.eps [] 8  %end%if  if (printFlag)    printfm( [figFileNames, num2str(procNo)],[], figSize)  end%ifend%if procFlags% ----------------------------------------------------------------------- %% Plot standard deviation of instantaneous frequency.% ----------------------------------------------------------------------- %procNo=12;if procFlags(procNo)  figure  plot(plotDiffIx,freqStd/1000)  xlabel('Time in pulse')  title('Frequency estimation (standard deviation)')  ylabel('Frequency [kHz]')  %ylim([0 1e4])  ylim([0 7])  plotxline(plotDiffWaveEnds,'r','--')  % Typical look for several channels.  if (printFlag)    printfm( [figFileNames, num2str(procNo)],[], figSize)  end%ifend%if procFlags

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一区2区视频在线观看| 亚洲精品视频一区二区| 一区免费观看视频| 久久9热精品视频| 在线一区二区观看| 国产欧美日韩不卡免费| 美女视频第一区二区三区免费观看网站 | 国产一区二区三区不卡在线观看 | 国产精品美日韩| 日本在线不卡一区| 色94色欧美sute亚洲线路一久| 精品久久久久香蕉网| 亚洲444eee在线观看| 在线视频一区二区免费| 亚洲视频免费看| 成人丝袜高跟foot| 国产无一区二区| 精品一区二区三区在线播放| 777欧美精品| 亚洲电影在线播放| 欧美三级资源在线| 亚洲午夜一区二区| 欧美色中文字幕| 日韩一区在线看| 92精品国产成人观看免费| 欧美国产激情二区三区 | 在线免费一区三区| 亚洲人成网站影音先锋播放| 成人午夜短视频| 国产精品免费久久久久| 国产丶欧美丶日本不卡视频| 久久综合久色欧美综合狠狠| 国产一区二三区| 国产日产欧美一区| 国产91精品入口| 亚洲视频在线一区观看| 一本到高清视频免费精品| 亚洲人成7777| 欧美在线啊v一区| 午夜天堂影视香蕉久久| 日韩一区二区三区视频在线观看| 美女在线观看视频一区二区| 精品国产91洋老外米糕| 国产精品原创巨作av| 国产精品久久久久久久久免费桃花| 成人福利电影精品一区二区在线观看| 国产精品久久久久9999吃药| 91在线观看美女| 亚洲国产wwwccc36天堂| 欧美一区二区三区视频在线观看| 人人精品人人爱| 国产视频亚洲色图| 91在线porny国产在线看| 亚洲一区二区三区四区在线观看| 欧美一区二区国产| 国产盗摄一区二区三区| 亚洲综合清纯丝袜自拍| 日韩亚洲欧美成人一区| 国产91丝袜在线播放0| 亚洲三级电影网站| 日韩精品一区二区三区视频播放 | 中文一区二区在线观看| 91国偷自产一区二区三区观看 | 日日摸夜夜添夜夜添亚洲女人| 欧美大片在线观看一区| 99热在这里有精品免费| 日韩高清一区在线| 国产精品日日摸夜夜摸av| 欧美精品自拍偷拍| 国产91丝袜在线18| 日韩电影一区二区三区四区| 国产人妖乱国产精品人妖| 欧美在线一区二区三区| 美女视频一区二区三区| 一区二区三区中文在线| 久久久午夜精品理论片中文字幕| 99精品视频免费在线观看| 久久国产三级精品| 亚洲自拍偷拍综合| 久久久九九九九| 在线91免费看| 97久久精品人人做人人爽50路| 蜜臀久久99精品久久久画质超高清| 国产精品国产三级国产aⅴ入口 | 一区二区三区中文在线| 久久精品综合网| 日韩一区二区三区高清免费看看| www.亚洲免费av| 韩国在线一区二区| 午夜精品在线看| 亚洲免费观看高清完整版在线观看| 精品av久久707| 日韩一级在线观看| 欧美视频完全免费看| 99久久精品99国产精品 | 国产精品国产精品国产专区不片| 日韩欧美一级精品久久| 欧美色成人综合| 色成人在线视频| 91免费版pro下载短视频| 高清视频一区二区| 国产九色sp调教91| 国产乱国产乱300精品| 蜜臀av一区二区在线免费观看| 亚洲国产欧美一区二区三区丁香婷| 中文字幕第一区第二区| 久久蜜桃av一区精品变态类天堂| 欧美一级理论片| 欧美精品xxxxbbbb| 51精品秘密在线观看| 欧美日韩日日夜夜| 欧美日韩mp4| 欧美理论在线播放| 91精品国产一区二区三区| 欧美日韩精品久久久| 欧美精品第1页| 欧美一级片免费看| 欧美精品一区在线观看| 亚洲精品在线观看视频| 久久久久国产精品麻豆| 国产精品美日韩| 亚洲精品视频在线看| 一区二区三区欧美亚洲| 午夜在线成人av| 美国av一区二区| 国产精品系列在线观看| 波多野结衣在线一区| 一本在线高清不卡dvd| 欧美性受xxxx| 日韩免费观看高清完整版| 久久色在线观看| 最好看的中文字幕久久| 亚洲午夜精品一区二区三区他趣| 肉肉av福利一精品导航| 国产专区综合网| www.99精品| 6080午夜不卡| 欧美国产日韩a欧美在线观看| 亚洲精品视频在线观看网站| 日韩av不卡在线观看| 国产精品91一区二区| 91传媒视频在线播放| 日韩欧美一级片| 亚洲欧美综合另类在线卡通| 亚洲午夜久久久久| 狠狠色丁香婷婷综合久久片| 99久久精品费精品国产一区二区| 欧美日韩在线播放三区四区| 337p日本欧洲亚洲大胆色噜噜| 中文字幕五月欧美| 免费在线观看视频一区| 播五月开心婷婷综合| 538在线一区二区精品国产| 国产精品久久久久久久久快鸭| 婷婷亚洲久悠悠色悠在线播放| 国产福利一区二区三区视频在线| 色噜噜狠狠成人网p站| wwwwxxxxx欧美| 亚洲综合丝袜美腿| 国产成人精品一区二| 欧美二区乱c少妇| 国产精品美女视频| 精品一区二区三区在线视频| 91福利社在线观看| 中文字幕第一区综合| 美国三级日本三级久久99| 在线观看一区不卡| 国产精品理论片在线观看| 久久成人久久爱| 欧美日精品一区视频| 最新中文字幕一区二区三区| 国产一区二区中文字幕| 欧美日韩美少妇| 国产精品福利在线播放| 国产精品一二三四五| 日韩欧美一区二区三区在线| 亚洲一区二区在线免费看| 91免费视频网| 国产精品国产三级国产专播品爱网| 精品制服美女丁香| 在线播放一区二区三区| 亚洲综合在线视频| 99国产精品久久久久久久久久 | www.日韩在线| 国产亚洲1区2区3区| 激情欧美日韩一区二区| 69堂国产成人免费视频| 三级久久三级久久| 欧美色综合久久| 亚洲成人777| 欧美三级日韩三级| 亚洲一区二区三区视频在线| 色婷婷久久综合| ㊣最新国产の精品bt伙计久久| 成人精品一区二区三区中文字幕| 久久久午夜精品| 国产**成人网毛片九色| 欧美国产乱子伦 | 亚洲欧美日韩成人高清在线一区| 国产高清亚洲一区|