image thumbnail

updated 5 months ago

Merge sorted arrays by Bruno Luong

Given two already sorted arrays, the function combines them in an unique sorted array (sort, sortrows, sorted)

mergemex(varargin)

mergerowsmex(varargin)

mergesa(A, B, rowsflag)

image thumbnail

updated 12 months ago

Min/Max selection by Bruno Luong

Search for k smallest or largest elements in the array (min, max, sorting)

buildInternal_mxArrayDef(mxArraydefFilename)

getmexopts(Tag)

maxk(varargin)

image thumbnail

updated 12 months ago

Interval merging by Bruno Luong

Merging intervals in the bracket form (interval, merging, timestamps)

IntervalUnion(left, right)

MergeBrackets(left, right)

RangeIntersection(varargin)

image thumbnail

updated 1 year ago

Sparse matrix convolution by Bruno Luong

Convolution of sparse matrices (convolution, sparse)

sconv2(A, B, shape)

image thumbnail

updated 1 year ago

Voronoi Sphere by Bruno Luong

Compute voronoi's diagram of points on the 2-sphere (voronoi, delaunay, sphere)

voronoisphere(xyz, varargin)

test_voronoisphere.m

image thumbnail

updated 1 year ago

InplaceArray: a semi-pointer package for Matlab by Bruno Luong

Manipulate (multi-dimensional) arrays in the in-place form (inplace, pointers, copyonwrite)

InplaceArray_install

buildInternal_mxArrayDef(mxArraydefFilename)

inplacecolumn(A, k)

image thumbnail

updated almost 2 years ago

Free-knot spline approximation by Bruno Luong

Least squares approximation of 1D data using free-knots spline (fitting, bspline, free knots)

BBspline(varargin)

BSFK(x, y, k, nknots, fixknots, options)

BSFK_install

image thumbnail

updated 2 years ago

Plot earth by Bruno Luong

Plot earth in 3D (graphic, earth, sphere)

cubedsphere(n, prjtype, shapetype)

mercator(n, shapetype)

plotearth(varargin)

image thumbnail

updated 2 years ago

Consecutive vector spliter by Bruno Luong

Partition an input vector into smaller series of subvectors of consecutive elements (split vectors, cell, array)

SplitVec(v, fun, varargin)

image thumbnail

updated 2 years ago

N-dimensional histogram by Bruno Luong

Compute n-dimensional histogram (histogram, hist, histc)

histcn(X, varargin)

image thumbnail

updated 2 years ago

BSXCAT by Bruno Luong

Concatenate two arrays along a specific dimension with auto expansion of singleton enabled. (concatenate, cat, bsxfun)

bsxcat(dim, A, B)

image thumbnail

updated 3 years ago

ChooseK by Bruno Luong

All pairs intersecting on k-1 tuples from all possible k-tuples of n objects (combination, nchoosek, tuples)

choosek(n, k)

image thumbnail

updated 3 years ago

Multiple-Colon by Bruno Luong

multiple colon-intervals (colon)

castarrays(varargin)

castarrays(varargin)

castarrays(varargin)

image thumbnail

updated 3 years ago

All Permutations of integers with sum criteria by Bruno Luong

All Pernutations of integers with sum criteria (permutation l1 polyno..., permutation, l1)

allVL1(n, L1, L1ops, MaxNbSol)

image thumbnail

updated 3 years ago

Sparse sub access by Bruno Luong

This package allows to retrieve and assign values of sparse matrix in one shot. (sparse, matrix, large size)

asgn(a1, a2)

build_spidxmex

defaultTref

image thumbnail

updated 3 years ago

ISMEMBERF by Bruno Luong

Floating-point ISMEMBER (i.e., with round-off tolerance) (ismember, float, round off)

ismemberf(A, S, varargin)

image thumbnail

updated 3 years ago

mmtimes: matrix chain product by Bruno Luong

Return matrix chain product P = M1*M2* ... *Mn (matrix product, multiplication, chain)

mmtimes(varargin)

image thumbnail

updated 3 years ago

Truncated Gaussian by Bruno Luong

Generate a pseudo-random vector X drawn from the truncated Gaussian distribution (gaussian, normal, random)

TruncatedGaussian(sigma, range, varargin)

image thumbnail

updated almost 4 years ago

RANDSUBSET by Bruno Luong

Return a random subset of k elements of the set of n elements (randperm, subset, random)

randsubset(v, k)

randsubset_install

randsubset_matlab(v, k)

image thumbnail

updated almost 4 years ago

2D polygon interior detection by Bruno Luong

Detect a whereas a point is interior or exterior to a 2D polygon (inpolygon, polygon, mesh)

benchinpoly(xv, yv, ntest)

insidepoly(varargin)

insidepoly_dblengine

image thumbnail

updated almost 4 years ago

Small size linear solver by Bruno Luong

Linear solver of multiple 2x2 and 3x3 systems (liner solver, determinant, cofactor)

inv2(A, B, varargin)

inv3(A, B, varargin)

bench_inv2inv3.m

image thumbnail

updated almost 4 years ago

Multiple eigen-values for 2x2 and 3x3 matrices by Bruno Luong

Compute in one shot the eigen-values of multiples (3 x 3) matrices using Cardan's formula (eigenvalues, cardan formula, 3x3 matrices)

CardanRoots(varargin)

ParabolaRoots(varargin)

eig2(A)

image thumbnail

updated almost 4 years ago

Multiple same-size linear solver by Bruno Luong

Solve multiple systems of linear equations of the same size (linear equations, linear system, least square)

MultiProd(M, X)

MultiSolver(M, RHS)

SliceMultiProd(M, X)

image thumbnail

updated almost 4 years ago

Euclidian projection on ellipsoid and conic by Bruno Luong

Projecting a point on ellipsoid or conic in n-dimensional space (geometry, ellipsoid, projection)

ConicPrj(P, A, b, c, parabolatol)

EllAlg2Geo(A, b, c)

EllGeo2Alg(radii, U, x0)

image thumbnail

updated almost 4 years ago

2D Polygon edges intersection by Bruno Luong

Find the intersection points of the edges of two 2D polygons (geometry, polygon, intersection)

isintersect(P1, P2)

poly2poly(P1, P2)

image thumbnail

updated almost 4 years ago

Vectorized FIND with 'FIRST' option by Bruno Luong

Find the first non-zero element(s) along row/column - or any other dimension (find, nonzeros)

findfirst(A, dim, count, firstlast)

findfirst_install

image thumbnail

updated almost 4 years ago

Least-square with 2-norm constraint by Bruno Luong

Minimize |A*x-b|^2 such that |x| = cte (linear algebra, regularization, quadratic)

spherelsq.m

spherelsq_demo.m

image thumbnail

updated almost 4 years ago

Sparse null space and orthogonal by Bruno Luong

NULL space and ORTHOGONAL basis for sparse matrix (sparse, matrix, linear algebra)

spnull(S, varargin)

sporth(S)

image thumbnail

updated almost 4 years ago

MPS format exporting tool by Bruno Luong

Convert linear programming problem (MATLAB matrices) to MPS format (optimization, mps, linear programming)

OK=SaveMPS(filename, Contain)

[Contain OK]=BuildMPS(A, b, Aeq, beq, cost, L, U, PbName,...

image thumbnail

updated 4 years ago

Min/Max filter by Bruno Luong

Multidimensional non-linear min/max filtering (image processing, minmax filter, filtering)

KramerBruckner(A, window)

benchminmax()

minmaxfilt(A, window, outtype, shape)

image thumbnail

updated 4 years ago

Pseudo-inverse by Bruno Luong

Factorize a matrix for pseudo-inverse calculation purpose (moorepenrose, pseudoinverse, qr)

pseudoinverse %

image thumbnail

updated 4 years ago

FFT-based convolution by Bruno Luong

Discrete convolution using FFT method (convolution, conv, conv2)

convnfft(A, B, shape, dims, options)

convnfft_install

image thumbnail

updated 4 years ago

Costantini phase unwrapping by Bruno Luong

Implementation of Costantini's 2D unwrapping method based on network programming (phase unwrapping, interferometry, sar)

cunwrap(Psi, options)

test_cunwrap.m

image thumbnail

updated 4 years ago

Cubed sphere by Bruno Luong

Generate a cubed-sphere geometry (cubed sphere, geometry, earth simulation)

cubedsphere(n, prjtype)

earthdemo(maptype)

plotcubedsphere.m

image thumbnail

updated 4 years ago

Spline derivative by Bruno Luong

Compute spline function and its derivative (spline, interpolation, derivative)

BLspline_install

DP=polyderiv(P, ivar)

P=scalefun(P, S)

image thumbnail

updated almost 5 years ago

kronecker by Bruno Luong

Kronecker tensor product (kron, kronecker)

kronecker(A,B)

image thumbnail

updated almost 5 years ago

bsxops by Bruno Luong

Force MATLAB operators to behave BSXFUN-like (bsxfun, array, expansion)

and(x,y)

and(x,y)

and(x,y)

image thumbnail

updated almost 5 years ago

Set partition by Bruno Luong

List all partitions a set n elements (combination, bell, stirling)

Bell(n)

DispPartObj(list, Obj, options)

ReplacePartObj(list, Obj)

image thumbnail

updated almost 5 years ago

Generalized orthogonalization by Bruno Luong

Orthonormal basis of a set vectors with respect to a non-euclidian scalar product (orthogonalization, vector space, hilbertian)

gorth(A, B, orderingflag)

image thumbnail

updated 5 years ago

Triangular and diagonal indexing by Bruno Luong

A collection of functions to index diagonal and triangular parts of the matrix (matrix, triangular, upper)

DiagM(n)

DuplicationM.m

EliminationM.m

image thumbnail

updated 5 years ago

workspace by Bruno Luong

create and manipulate variable names in the target workspace by using strings (assign, assignin, eval)

workspace

image thumbnail

updated 5 years ago

find_idx by Bruno Luong

Fractional binning (bins, binning, hist)

idx=find_idx(xi, xgrid, options, InputCheck)

findidxmex.m

image thumbnail

updated 5 years ago

featurememstats by Bruno Luong

feature('memstats') with structure output (development environme..., memory, array)

featurememstats(cls, unit)

largestblocksize(unit, maxsize)

Contact us