johnyf / numerical_utils

Vectorized and other numerical MATLAB functions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
  • normvec: vectorized normalization, previously published here
  • cell extrema, previously published here
  • anti-eigenvalues
  • 3d matrix multiplication using multiprod
  • Cartesian, polar coordinate helpers
  • proximity_components finds the connected components of a point set, given some distance threshold, requires vdistance (renamed) and scomponents
  • vremnan to remove by row or column if they contain NaN, vector-oriented function inspired by 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 dependencies. No dependency is OS-specific.

About

Vectorized and other numerical MATLAB functions

License:BSD 2-Clause "Simplified" License


Languages

Language:MATLAB 100.0%