matlab未定义y默认,运行时出现未定义函数或变量 'y'
n=1023;x=((-n-1)/2:1:(n+1)/2);lamda=0.045;deta=0.05*lamda;l=1*lamda;L=4*lamda;detax=L/n;u=-L/2:detax:L/2;M=n+1;Z2=zeros(1,M);S=randn(1,M);for n=1:MY0=0;for m=1:MN=S(m);if x(m)>0if m==Mk=2*pi*x(m)/L...