image thumbnail

updated 14 days ago

Voronoi Sphere by Bruno Luong

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


voronoisphere(xyz, varargin)


image thumbnail

updated 16 days ago

Plot earth by Bruno Luong

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

cubedsphere(n, prjtype, shapetype)

mercator(n, shapetype)


image thumbnail

updated 1 month ago

Min/Max selection by Bruno Luong

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




image thumbnail

updated 9 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)



mergesa(A, B, rowsflag)

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 almost 3 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 almost 3 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, pick of the week, potw)




image thumbnail

updated almost 4 years ago

mmtimes: matrix chain product by Bruno Luong

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


image thumbnail

updated 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)



image thumbnail

updated 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 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 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)


image thumbnail

updated 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)



image thumbnail

updated 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)


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)


minmaxfilt(A, window, outtype, shape)

image thumbnail

updated almost 5 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)


image thumbnail

updated almost 5 years ago

Cubed sphere by Bruno Luong

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

cubedsphere(n, prjtype)



image thumbnail

updated almost 5 years ago

Spline derivative by Bruno Luong

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


DP=polyderiv(P, ivar)

P=scalefun(P, S)

Contact us