image thumbnail

updated almost 2 years ago

Numerical Computing with MATLAB by Cleve Moler

Apps from Numerical Computing with MATLAB (mathematics, matrix, article)

image thumbnail

updated almost 2 years ago

Scalable Vector Graphics (SVG) Export of Figures by Juerg Schwizer

Converts 3D and 2D MATLAB plots to the scalable vector format (SVG). (specialized, plotting, svg)

demo_svg_water

plot2svg.m

simulink2svg

image thumbnail

updated 2 years ago

Adjust "quiver" arrowhead size by Kevin J. Delaney

Lets user easily tweak vectors plotted by "quiver", making arrowheads bigger or smaller. (quiver, arrowhead, vector)

adjust_quiver_arrowhead_size(quivergroup_handle, scaling_...

image thumbnail

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

image thumbnail

updated 10 months ago

Export figure to 3D interactive PDF by Ioannis Filippidis

Export figure as U3D file or directly to 3D interactive graphics within PDF. (3d, u3d, graphics)

[strmodelshading, strfaces_colors, strfaceshading, strcol...

arclength(px,py,varargin)

axes_extremal_xyz(ax)

image thumbnail

updated 1 year ago

Simple Stock Ticker by David

A simple stock ticker app written with a MATLAB class (class, oop)

Simple Stock Ticker

simpleStockTicker

image thumbnail

updated 1 year ago

struct2csv by James Slegers

Output a structure to a .csv file, with column headers (csv, struct, struct2csv)

struct2csv(s,fn)

image thumbnail

updated 6 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 almost 2 years ago

Experiments with MATLAB by Cleve Moler

Apps from Experiments with MATLAB (mathematics, matrix, article)

image thumbnail

updated 20 days ago

Cell Array to CSV-file [improved cell2csv.m] by Jerry

Writes cell array content into a *.csv file. (cell arrays, array to file, array to text)

cell2csv(fileName, cellArray, separator, excelYear, decimal)

image thumbnail

updated 11 months ago

Bound Values of an array by Pramit Biswas

Check whether value of the array within specified range or not and change accordingly (array, minimum, maximum)

MinMaxCheck( minimum, maximum, A2comp )

image thumbnail

updated 12 months ago

Variable Precision Integer Arithmetic by John D'Errico

Arithmetic with integers of fully arbitrary size. Arrays and vectors of vpi numbers are supported. (integer, biginteger, arithmetic)

demo_vpi

base2vpi(B,base)

bin2vpi(B)

image thumbnail

updated 11 months ago

Snip.m Snip elements out of vectors/matrices by Nicolas

Solves problems s.a. 'remove all nan' from a vector, 'get rid of 14th row of matrix' with low effort (basic function, matrix manipulation, easy)

[out]=snip(in,arg1,varargin)

image thumbnail

updated 4 months ago

MATLAB Style Guidelines 2.0 by Richard Johnson

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

image thumbnail

updated 1 month ago

Particle Swarm Optimization (Vectorized Code) by Reza Ahmadzadeh

a simple implementation of Particle Swarm Optimization algorithm (PSO) (pso, particle swarm, swarm intelligence)

VPSO.m

image thumbnail

updated 2 years ago

kml2struct by James Slegers

Import a .kml file as a series of shapefile structs. Like kml_shapefile, but more stable. (kml_shapefile, kml, shapefile)

kml2struct(kmlFile)

image thumbnail

updated 6 days 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 2 years ago

struct2File by Ivar Eskerud Smith

Print a struct to file. (struct, print, file)

struct2File( s, fileName, varargin )

image thumbnail

updated 1 year ago

Unit_Commitment by KATHIM Alrifai

Optimal Loading for a Power Station (Unit Commitment) (optimization, measurement, control design)

image thumbnail

updated 30 days ago

Vectorized Multi-Dimensional Matrix Multiplication by Darin Koblick

Take Any N-D Matrix and Multiply it by another N-D Matrix Without a For-Loop (matrix, matricies, multiplication)

eDim(fND,fSeq)

fDim(ND,dim)

mntimes(x,y,xrowdim,xcoldim,yrowdim,ycoldim)

image thumbnail

updated 6 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 2 years ago

Example using a MATLAB Class to control a GUI by Alex

This example shows how to use a Matlab class to control a gui. (class, gui, passing gui data)

standard_fig(varargin)

gui_class_example

image thumbnail

updated 10 months ago

Bilinear interpolation of an image or matrix by Disi A

This function performs bilinear interpolation for a given image or matrix at any location (image processing, signal processing, optimization)

interVal=interpImg(img,yx,zpad)

image thumbnail

updated 16 days ago

Prefixed-String Conversion (SI or Binary) by Stephen Cobeldick

Convert between numeric values and SI (or binary) prefixed strings. (data, communications, iso 80000)

binum(str,uni)

bipre(val,sgf,pfx,trz)

sinum(str,uni)

image thumbnail

updated 5 months 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

Read TIFF / TIF stacks efficiently, with 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

circVBuf by Jens Henrik Göbbert

circular vector buffer (constant+fast performance, double buffered) (buffer, circular, vector)

circVBuf_speedtest(bufferSz, vectorLen, stepSize, appendT...

circVBuf

plot_circVBuf_speedtest.m

image thumbnail

updated 2 years ago

struct2table by Karl

displays a struct's contents in a clear way... (struct, table, display)

struct2table.m

image thumbnail

updated almost 2 years ago

Random Search Algorithm by Reza Ahmadzadeh

Random search belongs to the fields of Stochastic Optimization and Global Optimization. (optimization, random, search)

RSA.m

RSA_visual.m

image thumbnail

updated 1 year ago

Gaussian Mixture Model by Ravi Shankar

The code finds out the parameters of a gaussian mixture model by Expectation-Maximization Algorithm. (data mining, data import, data export)

GMmodel(x,no_gaus_distr)

kmclust(x,no_clust)

image thumbnail

updated 6 months ago

CloudConnectivityChecker by Amaria

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

image thumbnail

updated 2 years ago

QPSK over Rayleigh fading Channel by Sourav Mondal

The BER of QPSK scheme over AWGN & Rayleigh fading channel. (communications, data export, data import)

Refresh(Received)

qpsk_rayl.m

image thumbnail

updated 9 days ago

Create strong passwords by Alan Jennings

Creates passwords with customizable character limits also allowing for limited character sets (password, security, random)

CreatePassword_Demo

Password=CreatePassword(N,N_c,N_C,N_n,N_s,List_s)

image thumbnail

updated 23 days ago

Linear regression for multiple category data with different slopes for each by Soumya Banerjee

The function does OLS and RMA regression on data that is categorized into two different categories (aerospace, biotech, communications)

regress_plot_twocategories_allslope

image thumbnail

updated 23 days ago

readcsv.m by Dongxi Zheng

This function imports a csv file into a structure array (csv, structure, array)

readcsv(filename, showprgrs)

image thumbnail

updated 9 months ago

Printing a formatted table by Daniel Wirtz

Allows to display and print simple text tables in MatLab. Plain and LaTeX format supported. (table, string table, char table)

PrintTable

image thumbnail

updated 1 year ago

Divergence-Curl Demo by Teja Muppirala

A simple, easy-to-use visualization tool for vector fields. ベクトル場の発散、回転を可視化表示します (teaching, divergence, vector)

image thumbnail

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

image thumbnail

updated 10 months ago

Connect Randomly Ordered 2D Points into a Minimal Nearest-Neighbor Closed Contour by Tristan Ursell

Connects randomly ordered 2D points into a minimal nearest neighbor contour. (contour, nearest, neighbor)

[Xout,Yout,varargout]=points2contour(Xin,Yin,P,direction,...

image thumbnail

updated 6 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 2 years ago

Antenna Arrays in 3D by Amol Mahurkar

Produces radiation pattern for Broadside, Endfire, and Binomial antenna arrays in 3 dimensions (antenna, array, binomial)

Binomial_array_3D.m

Broadside_array_3D.m

Endfire_array_3D.m

image thumbnail

updated 1 year ago

K means clustering for Image Compression by Vinay Kumar Tadepalli

K-means clustering is a popular vector quantization method for data compression. (image processing, simulation, demo)

Kmeans_Pre_Post.m

kmeans_clustering.m

Image_kmeans_main.m

image thumbnail

updated 1 year ago

CELP codec by Sourav Mondal

This is a code to demonstrate CELP codecs of bitrate 9.6kbps and 16kbps. (celp, audio codec, lpc)

celp16k(x,N,L,M,c,cb,Pidx)

celp9600(x,N,L,M,c,cb,Pidx)

celpana(x,L,M,c,cb,Pidx,bbuf,ebuf,Zf,Zw)

image thumbnail

updated 12 days ago

Numeric to English Words by Stephen Cobeldick

Convert a numeric scalar to a string giving the English name of the number value (GB/US). (dialect, words, number names)

num2words(num,opts)

image thumbnail

updated 2 years ago

Random Numbers from a Discrete Distribution by Tristan Ursell

Simple algorithm to generate random numbers from a user-defined discrete probability distribution. (random, number, variable)

gendist(P,N,M,varargin)

image thumbnail

updated 10 hours 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 2 years ago

Symmetric eigenvalue decomposition and the SVD by Yuji Nakatsukasa

Eigendecomposition of a symmetric matrix or the singular value decomposition of an arbitrary matrix (mathematics, matrix, eigenvalue)

qdwh(A,alpha,L,piv)

qdwheig(H,normH,minlen,NS)

qdwhsvd(A,a,b,minlen,NS);

image thumbnail

updated 27 days ago

Batch Job by Oliver Woodford

Toolbox to spread batch work over multiple MATLAB instances, even on other PCs (batch, batch processing, parfor)

image thumbnail

updated 9 months ago

Random Signal generation by Chethan C U

A compilation of random signal generation scripts that can be used for Testing various algorithms (random, testing, model based testing)

GenRandomSignal(AMP,FREQ,BIAS,EndTime,dt)

output=SignalNoise(InSignal,noise_control,noise_duration)

s=BoolNoise(a,noise_factor,width_factor)

image thumbnail

updated 1 year ago

Grid of points within a polygon by Sulimon Sattari

This function generates an array of points that lie within a given polygon (polygon, points, point)

polygrid( xv, yv, ppa)

Contact us