diff --git a/Signal Processing/Array Processing/MATLAB/Functions/firstOrderDma.m b/Signal Processing/Array Processing/MATLAB/Functions/firstOrderDma.m index 6cfb3a3769aff8c72db49b77d0af1c0b92bdd098..d49e33d8362b87752216115714ab0b6e650ccc86 100644 --- a/Signal Processing/Array Processing/MATLAB/Functions/firstOrderDma.m +++ b/Signal Processing/Array Processing/MATLAB/Functions/firstOrderDma.m @@ -3,7 +3,7 @@ % Author: Achilles Kappis % e-mail: axilleaz@protonmail.com % -% Date: 02/02/2025 (DD/MM/YYYY) +% Date: 01/04/2025 (DD/MM/YYYY) % % Copyright: MIT % -------------------------------------------------- @@ -26,7 +26,8 @@ % sensitive): % - Omni, Omnidirectional, % Monopole -% - Dipole, Figure-of-Eight +% - Dipole, Figure-of-Eight, +% Fig-Eight, Fig % - Cardioid, Cardio % - Hypercardioid, Hyper, % Hypercardioid2D, Hyper2D, @@ -121,7 +122,7 @@ function [h, output] = firstOrderDma(freq, d, pPattern, beta, input) if isstring(pPattern) || ischar(pPattern) validateattributes(pPattern, {'char', 'string'}, {'scalartext', 'nonempty'}, mfilename, 'Polar pattern', 3); validatestring(pPattern, ["Omni", "Omnidirectional", "Monopole", ... - "Dipole", "Figure-of-Eight", ... + "Dipole", "Figure-of-Eight", "Fig-Eight", "Fig", ... "Cardioid", "Cardio", ... "Hypercardioid", "Hyper", "Hypercardoid2d", "Hyper2d", "Hypercardoid3d", "Hyper3d", ... "Supercardioid", "Super", "Supercardoid2d", "Super2d", "Supercardoid3d", "Super3d"]); @@ -151,7 +152,7 @@ function [h, output] = firstOrderDma(freq, d, pPattern, beta, input) case {'omni', 'omnidirectional', 'monopole'} pPattern = pi; beta = 1; - case {'dipole', 'figure-of-eight'} + case {'dipole', 'figure-of-eight', 'fig-eight', 'fig'} pPattern = pi/2; beta = 0; case {'cardioid', 'cardio'}