Hello,
I want to set the boundary layer outside the computational grid. So I use,
input_args = {'PMLInside', false};
sensor_data = kspaceFirstOrder2D(kgrid, medium, source, sensor, [], input_args{:});
But it shows that,
Error using kspaceFirstOrder_inputChecking (line 1206)
Optional input parameters must be given as param, value pairs
I don't know why. How should I define this parameter to set the boundary outside my grid?
Thanks.