Name

plq_plotpa_muSet — Piecewise linear quadratic (plq), plot nonconvex proximal average over the smoothing parameter mu

Calling Sequence

plq_plotpa_muSet(f1, f2, x, lambda, muSet, rect)

Parameters

f1

matrix. The first plq function of the proximal average (lambda=0).

f2

matrix. The second plq function of the proximal average (lambda=1).

x

column vector. The points at which to evaluate the proximal average.

lambda

constant. The weight to apply to f2 in the average. f1's weight is (1-lambda).

muSet

column vector. The mu values at which to plot the proximal average.

rect

row vector. [xmin,ymin,xmax,ymax] for the plot window as with plot2d.

Description

<listitem>

For each mu in muSet, plots the proximal average of two PLQ functions over the provided x values and with the provided lambda. The proximal averages are computed with plq_pa_mu, so f1 and f2 do not have to be convex. The rect argument bounds the plot's visible region and is required. All of the proximal averages are plotted on the same graph, and the colours of successive PA's fade from blue (lambda=0) to red (lambda=1) via jetcolormap.

</listitem>

See Also

plq_function

Authors

Bryan Gardiner, University of British Columbia, BC, Canada