Hi,
K-wave is a good works, but some details trouble me.I'm having trouble defining my sensors
codes:
ball_magnitude = 10; % [Pa]
ball_x_pos = 38; % [grid points]
ball_y_pos = 32; % [grid points]
ball_z_pos = 32; % [grid points]
ball_radius = 5; % [grid points]
ball_1 = ball_magnitude * makeBall(Nx, Ny, Nz, ball_x_pos, ball_y_pos, ball_z_pos, ball_radius);
source.p0 = ball_1;
sensor.mask = zeros(Nx, Ny, Nz);
sensor.mask(22, :, :) = 1;
voxelPlot(double(source.p0|cart2grid(kgrid, sensor.mask)));
But it gave me this answer:
cart2grid: 119 Cartesian points mapped to overlapping grid points