propdelay.m

来自「MUSIC 算法的原程序,希望对大家有帮助」· M 代码 · 共 17 行

M
17
字号
function [TOR]= PropDelay(theta, phi,jj)
% TOR finds the Propagation Delay of the array.
% N is the number of line arrays.
% lambda is the frequency.
% C is the speed of light under water.
% delta is the distance between any two elements.
N=20;
f=1000;
c=1500;
lamda_upper=c/f;
delta=lamda_upper*0.45;
x=1:N;
y(1:N)=0;
z(1:N)=0;
x=x * delta;
TOR=((z(jj)*cos(theta))+(sin(theta)*(x(jj)*cos(phi)+y(jj)*sin(phi)))/c);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?