% 模拟水听器声场扫查结果
resolution = 20;
x = linspace(-400, 400, resolution);
y = linspace(-400, 400, resolution);
[X, Y] = meshgrid(x, y);
center_x = 0;
center_y = 0;
radius = 200;
distance = sqrt((X - center_x).^2 + (Y - center_y).^2);
heatmap_data = exp(-distance.^2 / (2 * radius^2));
% 图像顺滑
data_smooth = imresize(heatmap_data, [200 200]);
imshow(data_smooth , 'XData', x, 'YData', y);
colormap('jet');
colorbar;
水听器扫查声场焦斑顺滑
于 2024-06-13 15:49:13 首次发布