| Symbolic Math Toolbox | ![]() |
Syntax
Description
inv(A) returns inverse of the symbolic matrix A.
Examples
Suppose you have created the following M-file.
%% Generate a symbolic N-by-N Hilbert matrix. function A = genhilb(N) syms t; for i = 1:N for j = 1:N A(i,j) = 1/(i + j - t); end end
the symbolic inverse of the 2-by-2 Hilbert matrix.
See Also
| int | iztrans | ![]() |