From 2b847cd11e29a8eaf2827d978880f9d28fb919f4 Mon Sep 17 00:00:00 2001
From: ZaellixA <axilleaz@protonmail.com>
Date: Sat, 4 Jan 2025 13:27:07 +0000
Subject: [PATCH] Update header documentation of firstOrderDma.m to resemble
 the changes in the order of input arguments

---
 .../MATLAB/Functions/firstOrderDma.m           | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/Signal Processing/Array Processing/MATLAB/Functions/firstOrderDma.m b/Signal Processing/Array Processing/MATLAB/Functions/firstOrderDma.m
index 6377e7b..b7b0440 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: 04/12/2024 (DD/MM/YYYY)
+% Date: 04/01/2025 (DD/MM/YYYY)
 %
 % Copyright: MIT
 % --------------------------------------------------
@@ -12,13 +12,6 @@
 % --------------------------------------------------
 % Input
 % 
-% input [numeric]: The input to the array. 3D array/matrix with dimensions
-%                  MxIxF, where M represents the number of microphones and
-%                  must be even, I is the number of measurments (or number
-%                  of sources), and F is the number of frequencies of
-%                  interest. Each microphone pair is treated as a first
-%                  order DMA.
-% 
 % freq [numeric]: The frequencies of interest. A vector with number of
 %                 elements matching the third dimension of the "input"
 %                 parameter.
@@ -50,6 +43,13 @@
 %                            appropriate value is automatically set, and
 %                            this argument is ignored. [Default: 0]
 % 
+% input [numeric]: The input to the array. 3D array/matrix with dimensions
+%                  MxIxF, where M represents the number of microphones and
+%                  must be even, I is the number of measurments (or number
+%                  of sources), and F is the number of frequencies of
+%                  interest. Each microphone pair is treated as a first
+%                  order DMA.
+% 
 % --------------------------------------------------
 % Output
 % 
@@ -97,7 +97,7 @@ function [h, output] = firstOrderDma(freq, d, pPattern, beta, input)
     end
 
     % Check alpha (angle of null)
-    if nargin > 2 && ~isempty(pPattern);
+    if nargin > 2 && ~isempty(pPattern)
         if isstring(pPattern) || ischar(pPattern)
             validateattributes(pPattern, {'char', 'string'}, {'scalartext', 'nonempty'}, mfilename, 'Polar pattern', 3);
         elseif isnumeric(pPattern)
-- 
GitLab