pinv

pinv(x)

Try it yourself:

See also:
inv
All functions