aboutsummaryrefslogtreecommitdiff
path: root/octave/closed_quant_slope.m
diff options
context:
space:
mode:
Diffstat (limited to 'octave/closed_quant_slope.m')
-rw-r--r--octave/closed_quant_slope.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/octave/closed_quant_slope.m b/octave/closed_quant_slope.m
new file mode 100644
index 0000000..7d5a465
--- /dev/null
+++ b/octave/closed_quant_slope.m
@@ -0,0 +1,3 @@
+function b = closed_quant_slope(b)
+ b(1) = max(0.5, b(1));
+end