資源簡介
采用FFT方式計算二維矩形陣列的方向圖,與采用求和的方式相比,計算速度成倍提高。
代碼片段和文件信息
function?[pattern]?=?rect_array(NxrNyrdolxrdolyrtheta0phi0winidwinnbits);
%%%%%%%%%%%%%%%%%%%%?************************?%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%?This?function?computes?the?3-D?directive?gain?patterns?for?a?plannar?array
%?This?function?uses?the?fft2?to?compute?its?output
%%%%%%%%%%%%%%%%%%%%?************??INPUTS?************?%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%?Nxr?==>?number?of?along?x-aixs;?Nyr?==>?number?of?elemnts?along?y-axis
%?dolxr?==>?element?spacing?in?x-direction;?dolyr?==>?element?spacing?in?y-direction?Both?are?in?lambda?units
%?theta0?==>?elevation?steering?angle?in?degrees?phi0?==>?azimuth?steering?angle?in?degrees
%?winid?==>?window?identifier;?winid?negative?==>?no?window?;?winid?positive?==>?use?window?given?by?win
%?win?==>?input?window
- 上一篇:基于MATLAB的聲波測距
- 下一篇:基于MATLAB的車牌模糊識別
評論
共有 條評論