image thumbnail

updated 8 months ago

Voronoi Sphere by Bruno Luong

Bruno Luong (view profile)

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

vcell_solidangle.m

voronoisphere(xyz, varargin)

test_voronoisphere.m

image thumbnail

updated 8 months ago

Plot earth by Bruno Luong

Bruno Luong (view profile)

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

cubedsphere(n, prjtype, shapetype)

mercator(n, shapetype)

plotearth(varargin)

image thumbnail

updated 9 months ago

Min/Max selection by Bruno Luong

Bruno Luong (view profile)

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

buildInternal_mxArrayDef(mxArraydefFilename)

getmexopts(Tag)

maxk(varargin)

image thumbnail

updated 10 months ago

FFT-based convolution by Bruno Luong

Bruno Luong (view profile)

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

conv2fft(varargin)

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

convnfft_install

image thumbnail

updated 1 year ago

Merge sorted arrays by Bruno Luong

Bruno Luong (view profile)

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 almost 2 years ago

Interval merging by Bruno Luong

Bruno Luong (view profile)

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

IntervalUnion(left, right)

MergeBrackets(left, right)

RangeIntersection(varargin)

image thumbnail

updated almost 2 years ago

Sparse matrix convolution by Bruno Luong

Bruno Luong (view profile)

Convolution of sparse matrices (convolution, sparse)

sconv2(A, B, shape)

image thumbnail

updated 2 years ago

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

Bruno Luong (view profile)

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

InplaceArray_install

buildInternal_mxArrayDef(mxArraydefFilename)

inplacecolumn(A, k)

image thumbnail

updated 2 years ago

Free-knot spline approximation by Bruno Luong

Bruno Luong (view profile)

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 3 years ago

Consecutive vector spliter by Bruno Luong

Bruno Luong (view profile)

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

SplitVec(v, fun, varargin)

image thumbnail

updated 3 years ago

N-dimensional histogram by Bruno Luong

Bruno Luong (view profile)

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

histcn(X, varargin)

image thumbnail

updated 3 years ago

BSXCAT by Bruno Luong

Bruno Luong (view profile)

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

bsxcat(dim, A, B)

image thumbnail

updated 4 years ago

ChooseK by Bruno Luong

Bruno Luong (view profile)

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

choosek(n, k)

image thumbnail

updated 4 years ago

Multiple-Colon by Bruno Luong

Bruno Luong (view profile)

multiple colon-intervals (colon, pick of the week, potw)

castarrays(varargin)

castarrays(varargin)

castarrays(varargin)

image thumbnail

updated 4 years ago

All Permutations of integers with sum criteria by Bruno Luong

Bruno Luong (view profile)

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

allVL1(n, L1, L1ops, MaxNbSol)

image thumbnail

updated 4 years ago

Sparse sub access by Bruno Luong

Bruno Luong (view profile)

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 4 years ago

ISMEMBERF by Bruno Luong

Bruno Luong (view profile)

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

ismemberf(A, S, varargin)

image thumbnail

updated 4 years ago

mmtimes: matrix chain product by Bruno Luong

Bruno Luong (view profile)

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

mmtimes(varargin)

image thumbnail

updated 4 years ago

Truncated Gaussian by Bruno Luong

Bruno Luong (view profile)

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

TruncatedGaussian(sigma, range, varargin)

image thumbnail

updated 4 years ago

RANDSUBSET by Bruno Luong

Bruno Luong (view profile)

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 4 years ago

2D polygon interior detection by Bruno Luong

Bruno Luong (view profile)

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 5 years ago

Small size linear solver by Bruno Luong

Bruno Luong (view profile)

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 5 years ago

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

Bruno Luong (view profile)

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 5 years ago

Multiple same-size linear solver by Bruno Luong

Bruno Luong (view profile)

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 5 years ago

Euclidian projection on ellipsoid and conic by Bruno Luong

Bruno Luong (view profile)

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 5 years ago

2D Polygon edges intersection by Bruno Luong

Bruno Luong (view profile)

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

isintersect(P1, P2)

poly2poly(P1, P2)

image thumbnail

updated almost 5 years ago

Vectorized FIND with 'FIRST' option by Bruno Luong

Bruno Luong (view profile)

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 5 years ago

Least-square with 2-norm constraint by Bruno Luong

Bruno Luong (view profile)

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

spherelsq.m

spherelsq_demo.m

image thumbnail

updated almost 5 years ago

Sparse null space and orthogonal by Bruno Luong

Bruno Luong (view profile)

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

spnull(S, varargin)

sporth(S)

image thumbnail

updated almost 5 years ago

MPS format exporting tool by Bruno Luong

Bruno Luong (view profile)

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 5 years ago

Min/Max filter by Bruno Luong

Bruno Luong (view profile)

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

KramerBruckner(A, window)

benchminmax()

minmaxfilt(A, window, outtype, shape)

image thumbnail

updated 5 years ago

Pseudo-inverse by Bruno Luong

Bruno Luong (view profile)

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

pseudoinverse %

image thumbnail

updated 5 years ago

Costantini phase unwrapping by Bruno Luong

Bruno Luong (view profile)

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

cunwrap(Psi, options)

test_cunwrap.m

image thumbnail

updated 5 years ago

Cubed sphere by Bruno Luong

Bruno Luong (view profile)

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

cubedsphere(n, prjtype)

earthdemo(maptype)

plotcubedsphere.m

image thumbnail

updated 5 years ago

Spline derivative by Bruno Luong

Bruno Luong (view profile)

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

BLspline_install

DP=polyderiv(P, ivar)

P=scalefun(P, S)

image thumbnail

updated 5 years ago

kronecker by Bruno Luong

Bruno Luong (view profile)

Kronecker tensor product (kron, kronecker)

kronecker(A,B)

image thumbnail

updated 5 years ago

bsxops by Bruno Luong

Bruno Luong (view profile)

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

and(x,y)

and(x,y)

and(x,y)

image thumbnail

updated 5 years ago

Set partition by Bruno Luong

Bruno Luong (view profile)

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

Bell(n)

DispPartObj(list, Obj, options)

ReplacePartObj(list, Obj)

image thumbnail

updated almost 6 years ago

Generalized orthogonalization by Bruno Luong

Bruno Luong (view profile)

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 almost 6 years ago

Triangular and diagonal indexing by Bruno Luong

Bruno Luong (view profile)

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 6 years ago

workspace by Bruno Luong

Bruno Luong (view profile)

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

workspace

image thumbnail

updated 6 years ago

find_idx by Bruno Luong

Bruno Luong (view profile)

Fractional binning (bins, binning, hist)

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

findidxmex.m

image thumbnail

updated 6 years ago

featurememstats by Bruno Luong

Bruno Luong (view profile)

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

featurememstats(cls, unit)

largestblocksize(unit, maxsize)

Contact us