% Partition the interval [a,b] into integerN subintervals. We do not
% require that a<b.
%
- % INPUT:
+ % INPUTS:
%
% * ``integerN`` - The number of subintervals.
%
%
% * ``b`` - The "right" endpoint of the interval to partition.
%
- % OUTPUT:
%
- % * ``p`` - The resulting partition, as a column vector of length
- % integerN+1.
+ % OUTPUTS:
%
- % * ``delta`` - The distance between x_i and x_{i+1} in the
- % partition.
+ % * ``p`` - The resulting partition, as a vector of length integerN+1.
+ %
+ % * ``delta`` - The distance between x_i and x_{i+1} in the partition.
%
%
% towards `b`.
delta = (b - a)/integerN;
- p = [a : delta : b]';
+ p = [a : delta : b];
end