cleanup before refactoring

This commit is contained in:
2026-04-21 09:14:38 -07:00
parent dd0861d11c
commit 275123d0fc
5 changed files with 31 additions and 12 deletions
+8 -1
View File
@@ -1,9 +1,16 @@
function obj = initialize(obj)
function obj = initialize(obj, txPower, bandwidth, centerFreq)
arguments (Input)
obj (1, 1) {mustBeA(obj, "rfSensor")}
txPower (1, 1) double;
bandwidth (1, 1) double;
centerFreq (1, 1) double;
end
arguments (Output)
obj (1, 1) {mustBeA(obj, "rfSensor")}
end
obj.P_TX = txPower;
obj.BW = bandwidth;
obj.f_c = centerFreq;
end