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
b21c8c92
Commit
b21c8c92
authored
Jan 07, 2019
by
Armin Erraji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added UTDTest.m for matlab and cpp implementation comparison.
parent
9bb8c36d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
0 deletions
+27
-0
tests/UTD/UTDTest.m
tests/UTD/UTDTest.m
+27
-0
tests/UTD/UTDTestIR.wav
tests/UTD/UTDTestIR.wav
+0
-0
No files found.
tests/UTD/UTDTest.m
0 → 100644
View file @
b21c8c92
%% Load C++ implementation result
maekawa_ir_cpp
=
ita_read
(
'MaekawaTestIR.wav'
);
maekawa_ir_cpp
.
signalType
=
'energy'
;
%% 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
);
utd_ir
=
maekawa_ir_cpp
;
utd_ir
.
freqData
=
ita_diffraction_utd
(
w
,
s
,
r
,
maekawa_ir_cpp
.
freqVector
,
c
);
%% Combined result
maekawa_eval
=
ita_merge
(
maekawa_ir
,
maekawa_ir_cpp
,
utd_ir
);
%% Plot result
maekawa_eval
.
pt
\ No newline at end of file
tests/UTD/UTDTestIR.wav
0 → 100644
View file @
b21c8c92
File added
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