Refine by Content Type

Refine by Product

Refine by Time Frame

image thumbnail

updated 4 months ago

Fast assembly of stiffness and matrices in finite element method using nodal elements by Jan Valdman

vectorization of FEM matrices assembly (fem, vectorization, stiffness matrix)

M=mass_matrixP1_2D(elements,areas)

M=mass_matrixP1_2D_elasticity(elements,areas)

M=mass_matrixP1_3D(elements,areas)

image thumbnail

updated 4 months ago

Fast assembly of stiffness and matrices in finite element method using edge elements by Jan Valdman

vectorization of FEM matrices assembly (fem assembly, vectorization, eddy current)

M=mass_matrix_P1_2D(elems2nodes,areas)

M=mass_matrix_P1_3D(elems2nodes,areas)

[A,areas]=stifness_matrix_P1_2D(elems2nodes,coordinates)

image thumbnail

updated 1 year ago

Kehl, a fast (no loop) method to compute MSD by maxime

Kehl computes the mean squared displacements (MSD), with no loop. Fully vectorized code. (msd, mean squared displace..., diffusion)

Kehl(Trajectory)

image thumbnail

updated 2 years ago

Vectorized hold by Ioannis Filippidis

Vectorized version of hold function. (hold, vectorization, plot)

vhold(multiax, onoff)

image thumbnail

updated 2 years ago

Normalize N-D Vectors in Single Matrix or N Component Matrices by Ioannis Filippidis

Normalizes N-D vectors provided either in one matrix, or as multiple component matrices. (normalize, matrices, vector)

normvec(varargin)

vnorm(A,varargin)

usage_example_normvec.m

image thumbnail

updated 2 years ago

Fast Approximate Entropy by Kijoon Lee

This function calculates Approximate Entropy (ApEn) of a time series data in a very efficient way. (signal processing, approximate entropy, apen)

ApEn( dim, r, data, tau )

foo.m

image thumbnail

updated 2 years ago

Vectorized Meshgrid by Ioannis Filippidis

Conversions between N-D rectangular domain, meshgrid and matrix of column vectors (mathematics, meshgrid, vectorization)

domain2meshgrid(domain, resolution)

domain2vec(domain, resolution)

example_vectorized_surf_plot

image thumbnail

updated 3 years ago

Vector to colon notation by Javier Lopez-Calderon

Converts a vector into a string with its MATLAB colon notation (single resolution). (single resolution, vector, string)

vect2colon(vec, varargin)

image thumbnail

updated 5 years ago

Converts between decimal integers to multiple based numbers by Zhigang Xu

Converts between decimal integers to multiple based numbers. (mathematics, data structure, binary tree search)

[s mbase]=dec2mbase(dec, v, base, check)

dec=mbase2dec(s, mbase)

image thumbnail

updated 5 years ago

Writing Fast MATLAB Code by Pascal Getreuer

Speed up your project with this collection of techniques. (whitepaper, article, paper)

image thumbnail

updated 5 years ago

objfun by Arturo Serrano

Apply a function to each object of an object array. (cellfun, vectorization, object)

objfun (fun, x, varargin)

image thumbnail

updated 7 years ago

Example of loading C DLL and performance comparison by Vinesh Bhunjun

The example shows how to load a C DLL and also compares it with Matlab files (external interface, loadlibrary, vectorization)

acc=myconvm1(hxstr)

acc=myconvm2(hxstr)

myscr.m

Contact us