lots of cleanup and simplification in test case construction

This commit is contained in:
kdee committed 2026-01-13 21:17:35 -08:00
1 parent 08e396c155
commit bcb3bc3da3
65 files changed
+150 -265

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
function x = tiltMembership(obj, t)
arguments (Input)
obj (1, 1) {mustBeA(obj, 'sigmoidSensor')};
t (:, 1) double; % degrees
end
arguments (Output)
x (:, 1) double;
end
x = (1 ./ (1 + exp(-obj.betaTilt .* (t + obj.alphaTilt)))) - (1 ./ (1 + exp(-obj.betaTilt .* (t - obj.alphaTilt))));
end