https://github.com/johnyf/numerical_utils
Vectorized and other numerical MATLAB functions
https://github.com/johnyf/numerical_utils
Last synced: about 1 year ago
JSON representation
Vectorized and other numerical MATLAB functions
- Host: GitHub
- URL: https://github.com/johnyf/numerical_utils
- Owner: johnyf
- License: bsd-2-clause
- Created: 2013-11-15T23:46:53.000Z (over 12 years ago)
- Default Branch: main
- Last Pushed: 2021-08-04T00:56:59.000Z (almost 5 years ago)
- Last Synced: 2025-04-14T22:17:39.564Z (about 1 year ago)
- Language: MATLAB
- Homepage:
- Size: 25.4 KB
- Stars: 4
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Numerical Utilities for MATLAB
## Summary
Vectorized and other convenience functions.
Licensed under the 2-clause BSD.
## Description
These functions were developed over time to support my research.
The vectorized ones aim to make vector field codes brief, coordinate-free, clear and readable.
The more interesting are:
- vectorized meshgrid: generate and manipulate grids (parallelepiped or polar), handy for computing functions accepting column vectors as arguments and vectorized surface plotting, previously published [here](http://www.mathworks.com/matlabcentral/fileexchange/35036-vectorized-meshgrid)
- normvec: vectorized normalization, previously published [here](http://www.mathworks.com/matlabcentral/fileexchange/36248-normalize-n-d-vectors-in-single-matrix-or-n-component-matrices)
- cell extrema, previously published [here](http://www.mathworks.com/matlabcentral/fileexchange/35983-cell-extrema)
- anti-eigenvalues
- 3d matrix multiplication using [multiprod](http://www.mathworks.com/matlabcentral/fileexchange/8773-multiple-matrix-multiplications-with-array-expansion-enabled)
- Cartesian, polar coordinate helpers
- `proximity_components` finds the connected components of a point set, given some distance threshold, requires [`vdistance`](http://www.mathworks.com/matlabcentral/fileexchange/71-distance-m) (renamed) and [`scomponents`](http://www.mathworks.com/matlabcentral/fileexchange/24134-gaimc-graph-algorithms-in-matlab-code)
- `vremnan` to remove by row or column if they contain `NaN`, vector-oriented function inspired by [`remnan`](http://www.mathworks.com/matlabcentral/fileexchange/10863-remnan)
- `omit` to exclude a value, e.g., for taking omitted products
## Installation
Add the directory tree of this package to your MATLAB path.
Some functions have [fex](http://www.mathworks.com/matlabcentral/) dependencies.
No dependency is OS-specific.