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

Sparse matrix convolution by Bruno Luong

Bruno Luong (view profile)

Convolution of sparse matrices (convolution, sparse)

sconv2(A, B, shape)

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

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

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

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

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

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

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)

Contact us