lots of cleanup and simplification in test case construction
This commit is contained in:
1 parent
08e396c155
commit
bcb3bc3da3
65 files changed
+150
-265
No files matched your search
@@ -0,0 +1,10 @@
|
||||
function x = distanceMembership(obj, d)
|
||||
arguments (Input)
|
||||
obj (1, 1) {mustBeA(obj, 'sigmoidSensor')};
|
||||
d (:, 1) double;
|
||||
end
|
||||
arguments (Output)
|
||||
x (:, 1) double;
|
||||
end
|
||||
x = 1 - (1 ./ (1 + exp(-obj.betaDist .* (abs(d) - obj.alphaDist))));
|
||||
end
|
||||
Reference in new issue
Block a user