Skip to content
Snippets Groups Projects
Commit 34e5e24f authored by Achilles Kappis's avatar Achilles Kappis
Browse files

Correct equation giving the complex pressure in lineSrcField.m

parent 3428746b
No related branches found
No related tags found
1 merge request!12Implementation of first order differential arrays in the time domain
......@@ -3,7 +3,7 @@
% Author: Achilles Kappis
% e-mail: axilleaz@protonmail.com
%
% Date: 27/11/2024 (DD/MM/YYYY)
% Date: 03/12/2024 (DD/MM/YYYY)
%
% Copyright: MIT
% --------------------------------------------------
......@@ -127,6 +127,6 @@ function waveField = lineSrcField(sPos, rPos, f, Q, c, rho)
kr = w * s2rDist/c;
% Calculate complex pressure
waveField(:, :, fIdx) = (1j * w * rho * Q(:, fIdx).')/(2 * pi) .* besselh(0, 1, kr);
waveField(:, :, fIdx) = 1i * rho * c * Q(:, fIdx).' .* besselh(0, 2, kr)/4;
end
end
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment