image thumbnail

updated 18 days ago

crobarcro/mcode-cpp-utilities by Richard Crozier

C++ class wrapper and utilities (mex, c, example)

image thumbnail

updated 1 month ago

easy matlab and shell interaction library (ez.m) by Jerry

make it easy to interact with shell, os in matlab (shell, matlab, python)

image thumbnail

updated 3 months ago

Kepler State Transition Matrix (MEX) by Rody Oldenhuis

Compute Kepler state transition matrix for an arbitrary number of time steps. M and C++ version. (aeronautics, aerospace, kepler)

image thumbnail

updated 3 months ago

XSum by Jan Simon

Fast Sum with error compensation (sum, error, compensated)

InstallMex(SourceFile, varargin)

XSum(varargin)

image thumbnail

updated 6 months ago

XMLNode by Jarrod Rivituso

MATLAB class that allows you to use XPath to navigate and extract data from an XML document. (xml xpath java namesp..., xml, namespace)

XMLNode

XMLNodeImpl

startup.m

image thumbnail

updated 7 months ago

dbarray - pack and unpack database arrays to matlab arrays by Sven

dbarray lets you directly send/fetch array[] type database fields into native MATLAB variables (database, array, multidimensional)

dbarray.pack( dataIn, dbConn, dataType )

dbarray.packJavaArray( dataIn, jClass )

dbarray.unpack( objIn )

image thumbnail

updated 1 year ago

ObjDiff - Generic object comparator by Yair Altman

Compares objects of any type inc. Java, Matlab, HG handles, structs, cells & arrays (diff, struct, object)

objdiff(objectA,objectB,varargin)

image thumbnail

updated 1 year ago

Example MATLAB class wrapper for a C++ class by Oliver Woodford

An example of how to safely encapsulate a C++ class in a MATLAB class, via a mex interface. (c, mex, wrapper)

class_interface

image thumbnail

updated 2 years ago

rook pivoting by Leslie Foster

LURP: Gaussian elimination with rook pivoting using efficient Fortran and MATLAB mex code (rook pivoting, lu factorization, rook)

lurp_install

lurp_test(tol,m)

lurp_test_SJ(tol,nsamples)

image thumbnail

updated 2 years ago

Universal MEX wrapper by Thomas

Call any function in a shared library from Matlab (with some limits on the function signature). (mex, c, fortran)

dl_check(symbol)

dl_exec(funName, varargin)

dl_load(libPath, varargin)

image thumbnail

updated almost 3 years ago

Comparison of C++ and MATLAB Using Object Oriented Application Example by Stuart McGarrity

Wireless Communications Application Example Used to Compare C++ and MATLABĀ® Code (whitepaper, article, paper)

[BER, errors]=btint(varargin)

arg=getArg(argPosition,vararg_in,default)

rsrc=setRSRCpulseShapingFilter(rsrc, rollOff)

image thumbnail

updated almost 3 years ago

Java Class Origin by Ragaar Ashnod

Quickly find the origin for a java class. (java, class, url)

ClassOrigin(jObj)

image thumbnail

updated 3 years ago

arrayadapt by Armin Schmidt

A C++ wrapper class for MATLAB's mxArray type (mex, c, matrix)

image thumbnail

updated 3 years ago

Using MATLAB Structures in C# with Builder NE by Peter Webb

Code for the "Art of MATLAB" post - shows how to pass structures between MATLAB and C#. (type safe, builder ne, type safe api)

computeOrbit(planet)

image thumbnail

updated 3 years ago

Extrimely fast general n-dimensional interpolators by Quant Guy

Mex C++ interpolator routines for general pp-forms in any dimension. Multithreaded. (interpolation, ppform, mex)

InterpTests(nSites,nLoops)

Results

docs

image thumbnail

updated 3 years ago

RenameField by Jan Simon

Rename a fields of a struct - fast C-Mex (struct, field, rename)

RenameField(S, Old, New)

uTest_RenameField(doSpeed)

image thumbnail

updated almost 4 years ago

isValidSymbol by Jan Simon

Check for valid variable, field or function name - fast C-Mex (valid, variable name, function name)

isValidSymbol(S)

uTest_isValidSymbol(doSpeed)

image thumbnail

updated 4 years ago

Writing MATLAB C/MEX Code by Pascal Getreuer

MEX: Combine the power of MATLAB and C (programming, article, paper)

image thumbnail

updated 4 years ago

Struct array conversion by Ged Ridgway

Convert in either direction between struct-array and structure of arrays (struct, database, spreadsheet)

Examples of processing basic database from an xls spreads...

struct2struct(old)

image thumbnail

updated 4 years ago

CStrCatStr by Jan Simon

Cat 2 or 3 strings/cell strings C-MEX: 10 times faster than STRCAT (strcat, concatenation, string)

CStrCatStr(A, B, C)

TestCStrCatStr(doSpeed)

image thumbnail

updated 5 years ago

CUDA MEX by Haim Avron

Compile CUDA from within MATLAB! Just write cuda_mex filename.cu and it is ready. (programming, mex, cuda)

setup_cuda_mex.m

image thumbnail

updated 5 years ago

CStrAinBP by Jan Simon

Overlapping elements of 2 cell strings. 10-20 times faster than INTERSECT/ISMEMBER/SETDIFF. (string, cell string, comparison)

CStrAinBP(A, B, CaseSensitive)

TestCStrAinBP(doSpeed)

image thumbnail

updated 5 years ago

How to load / call functions from a VB DLL by Gordon

A brief overview on how to create a DLL in VB .Net which can be used from within Matlab. (vb, visual basic, dll)

VB_Dll_Demo.m

image thumbnail

updated almost 6 years ago

Image Processing Subset by Anthony Gabrielson

I have started to write a subset of the Image Processing toolbox. (signal processing, image processing, data export)

buildMex(filename, enblDbg)

image thumbnail

updated 6 years ago

javaTable by Matt Dunham

Simple function to display cell array data in a nice looking Java JTable (structures, cell arrays, java)

javaTable(data,columnNames,tableName)

image thumbnail

updated 6 years ago

Generate Arrays by Marco Zuliani

Converts a Matlab array to C and LaTeX (development environme..., latex, c)

generate_C_array(a, name, Nepl)

generate_LaTeX_array(a, name, format)

image thumbnail

updated 6 years ago

Tutorial: C mex matrix demo by Nick Clark

Index matrix in C like you would do in MATLAB! (optimization, array, vectorize)

image thumbnail

updated almost 7 years ago

Using C# functions and forms in Matlab by Dirk-Jan Kroon

This script shows how C# functions/classes can be used in Matlab (external interface, c, dot)

ComMatlabtest.m

MatlabGUItest.m

image thumbnail

updated almost 10 years ago

ISPR - Use Java to determine arbitrarily large probable primes by Michael Kleder

Use a Java to rapidly determine whether an arbitrarily large positive integer is a prime (symbolic math, probable, prime)

q=ispr(varargin)

image thumbnail

updated 10 years ago

count (mex) by Stefano Gianoli

Counts the number elements in a specified vector or matrix that match a specified criteria. (matrices, count, mex)

count.m

test_count.m

image thumbnail

updated 14 years ago

circulant.m by Leevan Ling

Creates a circulant matrix. (linear algebra, circulant, matrix)

circulant(c)

Contact us