Hello everybody,
whats is wrong with the code.it return the errors
"Error in makeGrid (line 83)
kgrid = makeGridStruct(varargin{:});
"Error in k_GRid (line 11)
kgrid=makeGrid(Nx, dx, Ny, dy);"
clear all;
clc;
x_size=3000;
y_size=3000;
f_max= 50000;
c0_min=1400;
dx=c0_min/(2*f_max);
dy=dx;
Nx=round(x_size/dx);
Ny=round(y_size/dy);
kgrid=makeGrid(Nx, dx, Ny, dy);