Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
I
ITAPropagationModels
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Institute of Technical Acoustics (ITA)
ITAPropagationModels
Commits
5665b91c
Commit
5665b91c
authored
Dec 11, 2018
by
Dipl.-Ing. Jonas Stienen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding Matlab test to evaluate C++ and ITA Toolbox implementation of Maekawa diffraction filter
parent
7d558f37
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
tests/Maekawa/MaekawaTest.m
tests/Maekawa/MaekawaTest.m
+22
-0
No files found.
tests/Maekawa/MaekawaTest.m
0 → 100644
View file @
5665b91c
%% Load C++ implementation result
maekawa_ir_cpp
=
ita_read
(
'MaekawaTestIR.wav'
);
%% Run ITA-Toolbox diffraction simulation
n1
=
[
-
1
1
0
];
n2
=
[
1
1
0
];
loc
=
[
0
1
0
];
w
=
itaInfiniteWedge
(
n1
,
n2
,
loc
);
s
=
[
-
2
0
0
];
r
=
[
2
0
0
];
c
=
344.0
;
maekawa_ir
=
maekawa_ir_cpp
;
maekawa_ir
.
freqData
=
ita_diffraction_maekawa
(
w
,
s
,
r
,
maekawa_ir_cpp
.
freqVector
,
c
);
%% Combined result
maekawa_eval
=
ita_merge
(
maekawa_ir
,
maekawa_ir_cpp
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment