mat-op-ex

Matrix Operator Extraction Toolkit - Tools to obtain the matrix form of common MATLAB linear operations (e.g. trapz, interp) for 1-2D grids
11 Downloads
Updated Fri, 22 Jan 2021 17:01:22 +0000

When performing repeated integration or interpolation of large data-sets over fixed grids, it is often advantageous to access the bare-metal matrix operations behind linear functions like interp1, interp2, and trapz. Mat-Op-Ex Toolkit seeks to provide these matrices efficiently, and in a way accessible to the user to build on.

Mat-Op-Ex functions are designed to be analogous to their conventional counterparts, except that they receive no function data and output a matrix instead. To avoid dealing with high-order tensor operations, physical dimensions are always vectorized within these functions, such that the operator matrix is limited to order N=2. Further details are available in the source code files, along with examples and unit tests.

This solution is based heavily on a wonderful bit of code presented by Bruno Luong, and expanded here to be more generally applied.

Cite As

Joel Lynch (2024). mat-op-ex (https://github.com/lynch730/mat-op-ex/releases/tag/v1.0.2), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2020b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.2

See release notes for this release on GitHub: https://github.com/lynch4815/mat-op-ex/releases/tag/v1.0.2

1.0.1

See release notes for this release on GitHub: https://github.com/lynch4815/mat-op-ex/releases/tag/v1.0.1

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.