Commit be8ce28a authored by John, Fabian's avatar John, Fabian
Browse files

Update README.md

parent 78014c42
Ultrasonic Multipath Propagation Model # Ultrasonic Multipath Propagation Model
- Model is given as Matlab class in file: ./forward_model/us_mp_model.m - Model is given as Matlab class in file: ./forward_model/us_mp_model.m
- Usage: - Usage:
`addpath('./lib/cosa-tools-matlab/lib'); ```matlab
addpath('./lib/cosa-tools-matlab/lib');
%% gen model with properties %% gen model with properties
us_mp_mdl = us_mp_model(6e-2, ... %d1 us_mp_mdl = us_mp_model(6e-2, ... %d1
...@@ -18,4 +19,5 @@ d_los = 0:2e-4:12e-2; ...@@ -18,4 +19,5 @@ d_los = 0:2e-4:12e-2;
for idx = 1:length(d_los) for idx = 1:length(d_los)
[f, y] = us_mp_mdl.get_rx_db(d_los(idx)); [f, y] = us_mp_mdl.get_rx_db(d_los(idx));
plot(f, y); plot(f, y);
end` end
```
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment