From 5d9e0bba9a54b89ee454a87fa34e52756e711f45 Mon Sep 17 00:00:00 2001
From: Achilles Kappis <axilleaz@protonmail.com>
Date: Tue, 4 Jun 2024 11:13:07 +0000
Subject: [PATCH] Update the example in the Remote Sensing section.

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

diff --git a/Virtual Sensing/README.md b/Virtual Sensing/README.md
index 14c1e5b..116957c 100644
--- a/Virtual Sensing/README.md	
+++ b/Virtual Sensing/README.md	
@@ -39,7 +39,8 @@ 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
-[~, ~, ~, ~, ~, ~, normSqrErr] = obsFilt(Pe, Pm, [], 1e2); % Use regularisation factor 100
+Oopt = obsFilt(Pe, Pm, [], 1e2); % Use regularisation factor 100 to calculate the observation filter
+[~, ~, ~, normSqrErr] = obsFileEst(Pm, Oopt, Pe, []); % Perform estimation
 ```
 
 #### Acknowledgments
-- 
GitLab