FUNCTION REFERENCE

pinv

Moore-Penrose pseudoinverse.

Moore-Penrose pseudoinverse.

Syntax

X = pinv(A)

Syntax

X = pinv(A, tol)

Computed from the singular value decomposition; singular values at or

below tol are treated as zero. The default tol is max(size(A))*eps(norm(A)).

Example

pinv([1 2; 2 4])   % [0.04 0.08; 0.08 0.16]

Differences from MATLAB: complex input is supported; results can differ from

MATLAB in the last digit. NaN or Inf in A is an error, as in MATLAB.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.