Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Virtual Sensing
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SPAH
IN-NOVA
Virtual Sensing
Commits
e2380e84
Commit
e2380e84
authored
8 months ago
by
Achilles Kappis
Browse files
Options
Downloads
Patches
Plain Diff
Fix header documentation in firstOrderDma.m and output calcualtions
parent
6bf3d50e
No related branches found
No related tags found
1 merge request
!10
Update 3D rotations function interface
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Signal Processing/Array Processing/MATLAB/Functions/firstOrderDma.m
+4
-4
4 additions, 4 deletions
...cessing/Array Processing/MATLAB/Functions/firstOrderDma.m
with
4 additions
and
4 deletions
Signal Processing/Array Processing/MATLAB/Functions/firstOrderDma.m
+
4
−
4
View file @
e2380e84
...
...
@@ -13,9 +13,9 @@
% Input
%
% input [numeric]: The input to the array. 3D array/matrix with dimensions
%
IxM
xF, where
I i
s the number of m
easurments (or length
%
of signals), M represents the number of microphones and
%
must be even
and F is the number of frequencies of
%
MxI
xF, where
M represent
s the number of m
icrophones 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.
%
...
...
@@ -156,7 +156,7 @@ function [h, output] = firstOrderDma(input, freq, d, pPattern, beta)
for
freqIdx
=
length
(
freq
):
-
1
:
1
for
pairIdx
=
size
(
input
,
1
)/
2
:
-
1
:
1
% Multiply the array filter with the input
output
(
:,
pairIdx
,
freqIdx
)
=
h
(:,
freqIdx
)
'
*
input
(
:,
pairIdx
*
2
-
1
:
pairIdx
*
2
,
freqIdx
);
output
(
pairIdx
,
:,
freqIdx
)
=
h
(:,
freqIdx
)
'
*
input
(
pairIdx
*
2
-
1
:
pairIdx
*
2
,
:,
freqIdx
);
end
end
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment