Turn to
> F=3432;
C=343.2;
Rho=1.21;
Lamda0=c/f;
K=2 * PI/lamda0;
Alpha=3;
Syms x y;
S0=4/(3 * alpha lamda0) ^ 2 * * (1 + alpha ^ 2 * lamda0/(2 * x)) ^ (3/2);
U0=exp (1 I * k * S0);
Kx=k/SQRT (1 + 2 * alpha * x);
Kx du=u0 * exp (I * * x);
2 - kx kz=SQRT (k ^ ^ 2);
U=int (du, x);
Uxy=int (6 * U * * k exp (-i * (k/SQRT (1 + 2 * alpha * x) * x + k * SQRT (2 * alpha * x/(1 + 2 * alpha * x)) * y)), x)/(2 * PI);
N=1000;
Xmin=60;
Xmax=10;
Ymin=0;
Ymax=20.
X=linspace (Xmin Xmax, N);
Y=linspace (Ymin, Ymax, N);
figure;
[x, y)=meshgrid (x, y);
Mesh (x, y, uxy)
The view (2);
Shading interp
Colorbar
Error using mesh (line 70)
Z must be matrices, not a scalar or vector,
Want to draw a uxy two-dimensional images, how to break