• 大小: 4KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-06-05
  • 语言: Matlab
  • 标签: music算法  

资源简介

基于music算法的天线角度估计,包含所有实现文件,用matlab实现,结果比较准确,可以应用到labview天线估计仿真系统中。

资源截图

代码片段和文件信息

% NAME GROUP (EE4/MSc) 2010 Imperial College.
% DATE

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Takes two M-Sequences of the same length and produces a gold sequence by
% adding a delay and performing modulo 2 addition
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Inputs
% mseq1 (Wx1 Integer) = First M-Sequence
% mseq2 (Wx1 Integer) = Second M-Sequence
% shift (Integer) = Number of chips to shift second M-Sequence to the right
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Outputs
% GoldSeq (Wx1 Integer) = W bits of 1‘s and 0‘s
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

function [GoldSeq]=fGoldSeq(mseq1mseq2shift)
mseq2temp=[mseq2; mseq2];
m=length(mseq2);
mseq2s=mseq2temp(m+1-shift:2*m-shift);
GoldSeq=xor(mseq1mseq2s);

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         818  2017-06-16 10:39  fMSeqGen.m
     文件         438  2017-06-16 10:39  fki.m
     文件          65  2017-06-16 10:39  frad.m
     文件        2515  2017-06-16 10:39  peak.m
     文件        1462  2017-06-16 10:39  phasesyn.m
     文件         979  2017-08-30 15:34  reallocation.m
     文件         683  2017-08-30 14:55  spv.m
     文件         876  2017-06-16 10:39  fGoldSeq.m

评论

共有 条评论