]> gitweb.michael.orlitzky.com - octave.git/blobdiff - partition_delta.m
Use the analytic solution Y(x) to compute y1 in problem6_method.
[octave.git] / partition_delta.m
diff --git a/partition_delta.m b/partition_delta.m
deleted file mode 100644 (file)
index febb4dc..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-function [p] = partition_delta(a, b, delta)
-  ## Partition the interval [a,b] into subintervals of length delta. We
-  ## do not require that a<b.
-  ##
-  ## INPUTS:
-  ##
-  ##   * ``a`` - The "left" endpoint of the interval to partition.
-  ##
-  ##   * ``b`` - The "right" endpoint of the interval to partition.
-  ##
-  ##   * ``delta`` - The length of the subintervals.
-  ##
-  ## OUTPUTS:
-  ##
-  ##   * ``p`` - The resulting partition, as a vector of length (b-a)/delta.
-  ##
-
-  p = [a : delta : b];
-end