plq_add - Piecewise linear quadratic (plq), addition of two plq functions
Computes the addition of two plq functions (plqf, plqg) and stores the result in plqfg.
plqf = [-1,1,0,0;1,0,0,1;%inf,1,0,0]; plqg = [0,1,0,0;2,0,1,0;%inf,1,0,-2]; result=plq_add(plqf,plqg);
Mike Trienis, University of British Columbia, BC, Canada