fminunc
Solve an unconstrained optimization problem defined by a function.

fmincg
Minimize a continuous differentialble multivariate function. fmincg works similarly to fminunc, but is more efficient when dealing with large number of parameters.
repmat
Form a block matrix of size M by N, with a copy of matrix A as each element.
reshape
Return a matrix with the given dimensions whose elements are taken from the matrix A.
bsxfun
The binary singleton expansion function applier performs broadcasting, that is, applies a binary function F element-by-element to two array arguments A and B, and expands as necessary singleton dimensions in either input argument.

svd
It normally returns only the vector of singular values. When called with three return values, it computes U, S, and V.