资源简介
基于子空间的旋转不变算法ESPRIT,可估计输入信号的到达角、离开角
代码片段和文件信息
function y=awgn(varargin)
%AWGN Add white Gaussian noise to a signal.
% Y = AWGN(XSNR) adds white Gaussian noise to X. The SNR is in dB.
% The power of X is assumed to be 0 dBW. If X is complex then
% AWGN adds complex noise.
%
% Y = AWGN(XSNRSIGPOWER) when SIGPOWER is numeric it represents
% the signal power in dBW. When SIGPOWER is ‘measured‘ AWGN measures
% the signal power before adding noise.
%
% Y = AWGN(XSNRSIGPOWERS) uses S which is a random stream handle to
% generate random noise samples with RANDN. If S is an integer then
% resets the state of RANDN to S. The latter usage is obsoleted and may
% be removed in a future release. If you want to generate repeateable
% noise samples then provide the handle of a random stream or use reset
% method on the default random stream. Type ‘help RandStream‘ for more
% information.
%
% Y = AWGN(XSNRSIGPOWERSTATE) resets the state of RANDN to STATE.
% This usage is deprecated and may be removed in a future release.
%
% Y = AWGN(... POWERTYPE) specifies the units of SNR and SIGPOWER.
% POWERTYPE can be ‘db‘ or ‘linear‘. If POWERTYPE is ‘db‘ then SNR
% is measured in dB and SIGPOWER is measured in dBW. If POWERTYPE is
% ‘linear‘ then SNR is measured as a ratio and SIGPOWER is measured
% in Watts.
%
% Example 1:
% % To specify the power of X to be 0 dBW and add noise to produce
% % an SNR of 10dB use:
% X = sqrt(2)*sin(0:pi/8:6*pi);
% Y = awgn(X100);
%
% Example 2:
% % To specify the power of X to be 3 Watts and add noise to
% % produce a linear SNR of 4 use:
% X = sqrt(2)*sin(0:pi/8:6*pi);
% Y = awgn(X43‘linear‘);
%
% Example 3:
% % To cause AWGN to measure the power of X and add noise to
% % produce a linear SNR of 4 use:
% X = sqrt(2)*sin(0:pi/8:6*pi);
% Y = awgn(X4‘measured‘‘linear‘);
%
% Example 4:
% % To specify the power of X to be 0 dBW add noise to produce
% % an SNR of 10dB and utilize a local random stream use:
% S = RandStream(‘mt19937ar‘‘seed‘5489);
% X = sqrt(2)*sin(0:pi/8:6*pi);
% Y = awgn(X100S);
%
% Example 5:
% % To specify the power of X to be 0 dBW add noise to produce
% % an SNR of 10dB and produce reproducible results use:
% reset(RandStream.getDefaultStream)
% X = sqrt(2)*sin(0:pi/8:6*pi);
% Y = awgn(X100S);
%
%
% See also WGN RANDN RandStream/RANDN and BSC.
% Copyright 1996-2008 The MathWorks Inc.
% $Revision: 1.9.4.7 $ $Date: 2009/01/05 17:45:01 $
% --- Initial checks
error(nargchk(25nargin‘struct‘));
% --- Value set indicators (used for the string flags)
pModeSet = 0;
measModeSet = 0;
% --- Set default values
sigPower = 0;
pMode = ‘db‘;
measMode = ‘specify‘;
state = [];
% --- Placeholder for the signature string
sigSt
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 817 2013-09-03 21:23 main.m
文件 1584 2010-10-25 11:20 tls_esprit.m
文件 6522 2013-09-03 16:19 wgn.m
文件 8109 2013-09-03 08:17 awgn.m
- 上一篇:多重信号分类MUSIC 算法
- 下一篇:富士康EHS管理体系
相关资源
- AoA室内定位技术简介
- 压缩感知CS的DOA代码
- flash avm2 虚拟机说明
- CHAN、Taylor、AOA等基本定位算法
- tct-doa估计
- 声音定位系统算法实现2012电赛D题
- 阵列信号处理中DOA算法分类总结(大
- TDOA positioning in NLOS scenarios by particle
- TDOA 到达时间差测向定位系统
- TDOA定位技术原理及算法
- 一种改进的TOA——AOA混合定位算法
- music算法的doa谱估计
- 单基地MIMO雷达经典MUSIC算法
- 论文研究-基于四元数ESPRIT的极化敏感
- DOA估计信源的个数,以及角度
- 采用最大似然交替投影迭代的方法对
- TDOA代码
- 4_11_基于压缩感知理论的DOA估计.zip
- 均匀直线阵的波达方向估计
- DOA估计经典算法
- MUSIC算法的改进
- UWB定位STM32 TDOA无线时钟同步源代码
- 多种传统DOA估计算法MUSIC,Capon,ESP
- GCC-PHAT.zip
- TDOA声源定位
- CHAN 算法 TDOA 定位
- 基于MUSIC算法的DOA估计
- 经典Esprit空间谱估计算法的代码
- ESPRIT GTD方法针对一维像的散射点提取
- 虚拟基线测向 DOA估计
评论
共有 条评论