image thumbnail

updated 10 hours ago

Heat Exchanger Solver by Seyyed Ali

Calculating outlet temperatures of a Heat Exchanger using Epsilon-NTU method (boiler, boiling, condense)

[T_hot_out,T_cold_out]=HeatExchanger(m_dot_hot,c_p_hot,T_...

epsilon=effectiveness(NTU,C_r,HE_Type,N)

Test.m

image thumbnail

updated 3 days ago

ndwmean by Russell

Up to n-dimensional weighted mean or average of an array with NaN support (weighted mean, weighted sum, weighted average)

ndwmean(array,weights,directions)

image thumbnail

updated 6 days ago

Towers of Hanoi by Brian Moore

A MATLAB GUI for the popular Towers of Hanoi puzzle game with manual or automatic solution. (towers of hanoi, recursion, gui)

TowersOfHanoi

image thumbnail

updated 9 days ago

fun_removecellrowcols by José Crespo Barrios

Removes the non desired rows or columns from a cell (cell, cell arrays, remove)

fun_removecellrowcols.m

image thumbnail

updated 10 days ago

Generating Gaussian Filter 2D Matrix by Duc Chung Tran

The function is used to generate Gaussian Filter 2D Matrix. (gaussian, filter, matrix)

g=Gaussian_filter(Filter_size, sigma)

image thumbnail

updated 11 days ago

TrueRNG Hardware Random Number Generator Interface / Driver by Matt

Matlab interface to the TrueRNG Hardware Random Number Generator sold by ubld.it (true random number ge..., statistics, probability)

truerng(varargin)

image thumbnail

updated 12 days ago

plot_depfun by Christopher Pedersen

plots a graph of the dependencies of a function (code, function, depfun)

plot_depfun(foo,varargin)

plot_graph(names,deps,varargin)

image thumbnail

updated 13 days ago

plot_subroutines by Christopher Pedersen

graphviz-like plot of the subroutines in a function, and their dependencies (code analysis, function, code)

plot_graph(names,deps,varargin)

plot_subroutines(foo,varargin)

image thumbnail

updated 18 days 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 24 days ago

MATLAB Style Guidelines 2.0 by Richard Johnson

An updated guide to preferred coding style. (article, conventions, documentation)

image thumbnail

updated 25 days ago

Access TIFF / TIF stacks - lazy loading by Dylan Muir

Read a TIFF stack as a memory-mapped tensor. Handles a large range of internal TIFF formats. (tiff, tif, image manipulation)

TIFFStack

image thumbnail

updated 30 days ago

Pair-wise Euclidean Distance Matrix by Quan Wang

Computing distance matrix without loops (data, distance, matrix)

D=distanceMatrix(X)

demo.m

image thumbnail

updated 1 month ago

LaTeX table element wrapper by Matthew Arthington

Change the font of certain elements within a LaTeX table string (latex, string)

S=latexWrapTableElements(latexTable,linearIndicesOfElemen...

image thumbnail

updated 1 month ago

Positive-Definite Matrix by Muhammad Asim Mubeen

This function returns a positive-definite symmetric matrix. (matrix, matrices, nonlinear)

Spd_Mat(A)

image thumbnail

updated 1 month ago

Sudoko Solver by Salaheddin Hosseinzadeh

Solves Sudoko (programming, sudoko, for loop)

[table]=block_elimination(table)

[table]=linear_elimination(table)

[table]=locator(table)

image thumbnail

updated 1 month ago

ISO 8601 Date String to Serial Date Number by Stephen Cobeldick

Convert an ISO 8601 Date String to Serial Date Numbers. Auto-detect or select timestamp style. (calendar date, date, datenum)

datenum8601(Str,Tok)

image thumbnail

updated 1 month ago

Latin Hypercube by Nassim Khaled

lhsdesign_modified generates latin hypercube samples (latin, hypercube, doe)

[X_scaled,X_normalized]=lhsdesign_modified(n,min_ranges_p...

image thumbnail

updated 1 month ago

Vehicle Network Toolbox Support Package for Vector CAN Devices by MathWorks Vehicle Network Toolbox Team

Stream CAN bus data into MATLAB and Simulink using Vector CAN Devices (vector)

image thumbnail

updated 1 month ago

Interleave Vectors or Matrices by Steven Shimizu

Interleaves rows or columns of any number of vectors or matrices (interleave, matrix, vector)

interleave2(varargin)

image thumbnail

updated 1 month ago

Bytestream Save Toolbox by Jan Berling

Ultrafast saving of workspace variables as bytestreams. Especially useful for big cells and structs. (save, bytestream, cell arrays)

InBase=fnBaseExist(var1)

cd_ifPathIsValid(varargin)

isValidPathName(pathInput)

image thumbnail

updated 1 month ago

Read Gml by Elias

Stores gml info in hierarchical structure. Derive Adjacency Matrix (graph, gml, struct)

get_adjacency_matrix(graph)

get_next_struct(content, i)

read_gml(filename)

image thumbnail

updated 1 month ago

Find Index by David Pineda

Give a Index near a value searching sequentially in function of the direcction (find, value, vector)

In=find_index(valor,tolerancia,vector,direccion)

image thumbnail

updated 1 month ago

Linear fit with both uncertainties in x and in y by Julien Browaeys

Performs a linear fit with uncertainties in x and y, using a Monte Carlo method (fit, linear, plot)

linfitxy( xdatain, ydatain, xerrin, yerrin, varargin)

image thumbnail

updated 1 month ago

recursive_scriptsearch by Jakob Sievers

Search for strings within multiple scripts (string, search, folder)

dd_out=recursive_scriptsearch(indir,str)

image thumbnail

updated 1 month ago

sum_digits by Daniel Herber

Find the sum of digits of a vector and an interesting script that uses it (digits, number, summation)

sum_digits(x)

dsum_eq_rsum.m

image thumbnail

updated 2 months ago

1D Finite Element Method (FEM) Example by Cheuk

A 1D finite element method (FEM) example is provided to teach the basics of using FEM to solve PDEs. (finite, element, method)

a_def(node)

act_quad(dof_pos, ref_quad_pos, num_edges)

compute_RHS_global(RHS_local, loc_glob, num_edges)

image thumbnail

updated 2 months ago

mat2num by Kashi Khorasani

This function converts the input (matrix) into an integer/number comprised of all of the digits. (num2mat, mat2num, vector)

mat2num.m

image thumbnail

updated 2 months ago

num2mat by Kashi Khorasani

This function converts the input (integer) into a matrix comprised of all of the integer's digits. (num2mat, mat2num, factory)

num2mat.m

image thumbnail

updated 2 months ago

factory: simple factorization vector tool by Kashi Khorasani

This function returns a vector containing all factors of the number N (input) (matrix, function, vector)

num2mat.m

image thumbnail

updated 2 months ago

Gaussian Elimination with Pivoting Method by Cheuk

Function uses Gauss elimination with pivoting to solve a linear system in standard format. (linear, algebra, gaussian)

GAUSS_ELIM(A, b)

image thumbnail

updated 2 months ago

vind2sub by Chris

MATLAB's ind2sub function implemented to return a variable length vector (vector, matrix, utility)

indices=vind2sub(siz, ind)

image thumbnail

updated 2 months ago

matlab-ParforProgress2 by Andreas

A PARFOR progress monitor for Matlab GUIs and the command line (works with normal for-loops) (parallel, parfor, progress monitor)

ParforProgressStarter2(s, n, percentage, do_debug, run_ja...

ParforProgressStressTest2(N, run_javaaddpath)

get_matlab_version()

image thumbnail

updated 3 months ago

Compressed Row Storage (CRS) Successive Over-Relaxation (SOR) Method by Cheuk

Function uses Successive Over-Relaxation (SOR) method to solve a linear system in CRS format (sor, successive, over)

CRS_SOR(CRS, b, x, epsilon, w)

image thumbnail

updated 3 months ago

LOGICALFIND by Jos (10584)

Find occurrences of consecutive non-zeros in a vector (v1.0, jan 2014) (find, matrices, search)

logicalfind(V, N)

image thumbnail

updated 3 months ago

Progress bar for matlab loops (incl. parfor) by Stefan

A progress bar that shows what percentage of a loop has finished. Based on parfor_progress. (loop, progress, bar)

ProgressBar

image thumbnail

updated 3 months ago

Jacobian-Free Newton-Krylov (JFNK) method by Cheuk

Function uses JFNK to solve a system of non-linear equations (jacobianfree, newtonkrylov, jacobian)

JFNK(F, x0, epsilon, max_iter)

JV_APPROX(v, F, x)

image thumbnail

updated 3 months ago

CloudConnectivityChecker by Amaria

Checks whether your MATLAB session can connect to the Amazon EC2 cloud. (parallel, ec2, cloud)

image thumbnail

updated 3 months ago

CloudConnectivityChecker_R2012a by Amaria

Checks whether your MATLAB session can connect to the Amazon EC2 cloud (parallel, cloud, ec2)

identifyConnectionErrors(obj, ME)

launchVerification()

(Hidden) AbstractStage

image thumbnail

updated 3 months ago

emptyStruct by David Young

Creates empty struct arrays of various kinds (structures, structure, struct)

emptyStruct(fieldnames, sz)

image thumbnail

updated 3 months ago

Phase Plots of Complex Functions by Elias Wegert

Routines for creating color representations of complex functions (phase plots) (complex functions, phase plot, domain coloring)

BrightenRGB(RGB,bright)

GUI_PhasePlot(hObject, ~)

PPDemo(cs)

image thumbnail

updated 3 months ago

grades by m.montaser sabry

simple program to get grades with ability to modify (structures)

grades.m

image thumbnail

updated 4 months ago

toTable: Simple Manual Matlab to Excel or Word Function by Kirk

Take data from Matlab to an Excel Spreadsheet or a Word Table. (excel, convert, matlab)

toTable(Input,varargin)

image thumbnail

updated 4 months ago

toPPT by Jens Richter

This script will help you to make your powerpoint slides directly from matlab. (powerpoint, microsoft, windows)

addBitmapGraphic(myFigure,myArg)

addText(myArg)

addVectorGraphic(myFigure,myArg)

image thumbnail

updated 4 months ago

Arbitrary Read by Debejyo Chakraborty

Read line by line from an arbitrarily formatted file (delimiter, file read, cell array)

arbitread.m

image thumbnail

updated 4 months ago

iterlin and iterget by Samuel Bandara

Linearize nested loops for smarter dispatch by parfor (parfor)

iterget(rng, it)

iterlin(rng)

image thumbnail

updated 4 months ago

Distributed Batch Job by Oliver Woodford

Spread batch work over multiple MATLAB instances on multiple networked PCs (parallel, parfor, distributed)

batch_job_distrib(varargin)

image thumbnail

updated 4 months ago

Max and min keeping NaNs by David Young

The max and min functions ignore NaN values. These functions keep them like arithmetic functions do. (max, min, maximum)

maxNan(a, b, dim)

minNan(a, b, dim)

image thumbnail

updated 4 months ago

Batch Job by Oliver Woodford

Spread batch work over multiple MATLAB instances (batch, batch processing, parfor)

batch_job(varargin)

image thumbnail

updated 5 months ago

adtranspose by Alexander Hirzel

antidiagonal transpose (antidiagonal, transpose, matrix)

adtranspose(M)

image thumbnail

updated 5 months ago

OpenStreetMap Functions by Ioannis Filippidis

Load map, extract connectivity, plot road network & find shortest paths from OpenStreetMap XML file. (data import, automotive, matrix)

...

...

[d pred]=dijkstra(A,u)

Contact us