From 7a22a8f16ea754197460184b7b5f5b8d58400df9 Mon Sep 17 00:00:00 2001
From: ZaellixA <axilleaz@protonmail.com>
Date: Mon, 2 Sep 2024 11:55:40 +0100
Subject: [PATCH] Update example in Virtual Microphone Technique README.md to
 use SNR in the filter calculation

---
 Virtual Sensing/README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Virtual Sensing/README.md b/Virtual Sensing/README.md
index 5f866e1..973f143 100644
--- a/Virtual Sensing/README.md	
+++ b/Virtual Sensing/README.md	
@@ -40,7 +40,7 @@ Pm = ptSrcField(vPos, mPos, 7.5e2); % Primary-to-monitoring transfer function (f
 Pe = ptSrcField(vPos, ePos, 7.5e2); % Primary-to-virtual transfer function (f = 750 Hz)
 
 % Perform estimation and acquire the normalised square estimation error
-Oopt = obsFilt(Pe, Pm, [], 1e2); % Use regularisation factor 100 to calculate the observation filter
+Oopt = obsFilt(Pe, Pm, [], 1e2, 15); % Use regularisation factor 100 to calculate the observation filter and add noise with Signal-to-Noise Ratio of 15 dB.
 [~, ~, ~, normSqrErr] = obsFileEst(Pm, Oopt, Pe, []); % Perform estimation
 ```
 
@@ -50,4 +50,4 @@ None.
 
 ## References
 
-[1] A. Roure, A. Albarrazin, *"The remote microphone technique for active noise control"*,  Inter-Noise and Noise-Con Congress and Conference Proceedings, Active99, Fort Lauderdale FL, pp. 1233-1244(12).
\ No newline at end of file
+[1] A. Roure, A. Albarrazin, *"The remote microphone technique for active noise control"*,  Inter-Noise and Noise-Con Congress and Conference Proceedings, Active99, Fort Lauderdale FL, pp. 1233-1244(12).
-- 
GitLab