Convert linear functions to matrix form

버전 1.2.0.2 (487 KB) 작성자: Matt J
Obtaining the matrix representing a given linear function
다운로드 수: 577
업데이트 날짜: 2022/4/18

라이선스 보기

As is well known, if f() is linear function then there exists a matrix A such that for any Y=f(X), where X and Y are array-valued input/output arguments, the operation can equivalently be expressed Y(:)=A*X(:). In MATLAB, we are often given linear operations f() in function form only, but need the matrix form to do linear algebraic manipulations: transpose, pseudo-inversion, etc...
The file FUNC2MAT in this submission computes the matrix A given a handle, fun, to any linear mapping from N-dimensional to M-dimensional space. An alternative and faster version LOCALFUNC2MAT is also available for certain types of linear transformations where impulse inputs have very localized responses in the output. Many image transformation functions like INTERPN, IMWARP, IMROTATE, etc... satisfy this property.
See the Examples tab for demonstrations of use.

인용 양식

Matt J (2024). Convert linear functions to matrix form (https://www.mathworks.com/matlabcentral/fileexchange/44669-convert-linear-functions-to-matrix-form), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2013a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.2.0.2

doc edit

1.2.0.1

Title change

1.2.0.0

Added a new function localfunc2mat. Offers significantly higher speed than func2mat for certain types of functions.

1.1.0.0

modified summary

1.0.0.0