image thumbnail

updated 2 months ago

vtkwrite( filename,dataType,varargin ) by Joe Yeh

The function exports multiple 3D vector and scalar field and call Paraview for display (paraview, vector, 3d)

vtkwrite( filename,dataType,varargin )

image thumbnail

updated 10 years ago

M-file Header Template by Denis Gilbert

Promotes better m-file documentation by encouraging authors to produce informative headers. (whitepaper, article, paper)

function_name(input1,input2,input3)

function_name(input1,input2,input3)

image thumbnail

updated almost 7 years ago

Matgraph by Ed Scheinerman

Toolbox for working with simple, undirected graphs (graph theory, toolbox, graphs)

Checking graph isormorphism in Matgraph

Coloring graphs in Matgraph

Creating a Cayley graph

image thumbnail

updated 4 years ago

Image Error Measurements by Michael Chan

Measures the differences between 2 images, and measurement of image quality. (image processing, fidelity, quality)

...

E=eme(X,M,L);

PSNR(A,B)

image thumbnail

updated 29 days ago

Pack & Unpack variables to & from structures with enhanced functionality by Adi Navve

v2struct packs and unpacks variables to and from structures with enhanced functionality. (function inputs, struct2vars, pack)

v2struct

v2structDemo1()

v2structDemo2()

image thumbnail

updated 6 years ago

Data encoding: AMI, NRZ, RZ, Polar, Bipolar, Manchester... by Diego Barragán

Functions that simulate data encoding (digital baseband modulation). (coding theory, information theory, functions)

AMINRZ.m

AMIRZ.m

BRZ.m

image thumbnail

updated 1 year ago

STRJOIN by Kota Yamaguchi

Concatenate an array into a single string. (string, array, cellstr)

strjoin(input, separator)

image thumbnail

updated 1 year ago

CATSTRUCT by Jos (10584)

Concatenate/merge structures (v4.0, dec 2013). (structures, cell arrays, structure)

catstruct(varargin)

image thumbnail

updated 6 years ago

Genetic Algorithm by Djaghloul Mehdi

Multimodal Function Optimisation (optimization, genetic algorithm, ga)

Fit_fun_val=fit_fun(v)

[w]=JGAopt(w0,pop_size,Kga_fin,Max_error)

image thumbnail

updated 29 days ago

Bayesian Linear Regression by Soumya Banerjee

This is a set of MATLAB functions to do Bayesian linear regression (statistics, optimization, mathematics)

bayesian_regression

CALL_bayesian_regression

image thumbnail

updated 3 years ago

Simple example of genetic algorithm for optimization problems by Andrea Cirillo

It is used to generate useful solutions to optimization and search problems. (genetic, algorithm, optimization)

[p_min, iter, f]=genetic_algorithm (func, numMaxInd, numF...

image thumbnail

updated 1 month ago

Chicken Swarm Optimization Algorithm (demo) by Xian-Bing Meng

This is a new bio-inspired algorithm Chicken Swarm Optimization, proposed by Xian-bing(2014) (mathematics, optimization, matlab)

CSO.m

image thumbnail

updated almost 4 years ago

(another) JSON Parser by François Glineur

Parses JSON strings into structures and cell arrays. (json, parser, javascript)

parse_json(string)

image thumbnail

updated 4 years ago

Matrix Analysis of Three Dimensional Bar Structures MABS3D by Marcos Cesar Ruggeri

This program is an extension of MABS2D to three-dimensional space (3D). (approximation, fea, fem)

mabs3d.m

image thumbnail

updated 11 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 4 years ago

Nested sort of structure arrays by Jake Hughey

Perform a nested sort of a struct array based on multiple fields. (nested, sort, struct)

nestedSortStruct(aStruct, fieldNamesCell, directions)

nestedSortStruct2(aStruct, fieldNamesCell, directions, cl...

sortStruct(aStruct, fieldName, direction)

image thumbnail

updated 8 years ago

Draw 3D arrows by Changshun Deng

A function to draw 3D-arrows. (specialized, plotting, arrow)

rotatedata.m

varargout=arrow3d(start,stop,ang,ltype,p,n)

x(~out); end;

image thumbnail

updated 4 years ago

Get HTML-table data into MATLAB via urlread and without builtin browser by Sven Koerner

Based on getTableFromWeb with a little more functionality for bring in table data from web to MATLAB (urlread, cell array, data)

getTableFromWeb_mod(url_string, nr_table)

image thumbnail

updated 1 year 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 7 years ago

readtext by Peder Axensten

Any text (file) you give it, readtext returns an array of the contents. You can chose delimiter etc. (data import, data export, import)

readtext(text, delimiter, comment, quotes, options)

image thumbnail

updated 16 days ago

CAD APPS by Larry Silverberg

Computer Aided Design (CAD) and Exploration Applications (APPS) (structures, design, truss)

CADApps

CADAPP_MESH2_VER6(node,member,mmat,nmat,load,bound, z0,de...

adapt_scale(value, unitType, system)

image thumbnail

updated 10 years ago

xyerrorbar by Nils Sjöberg

Errorbars for both x and y data. (specialized, plotting, errorbars)

image thumbnail

updated 4 years ago

Get HTML Table Data into MATLAB by Jeremy Barry

Identify tables and interactively select the data to bring into MATLAB. (html, table, regexp)

getTableFromWeb(varargin)

getTableDataScript.m

image thumbnail

updated 7 years ago

Data scaling by Ani

Program to scale the values of a matrix from a user specified minimum to a user specified maximum (linear algebra, scale, scaling data)

image thumbnail

updated 5 years ago

Bias Field Corrected Fuzzy C-Means by Dirk-Jan Kroon

Estimates the illumination artifact in 2D (color) and 3D CT and MRI and segments into classes. (bias field, biasfield, segmentation)

I=imgaussian(I,sigma,siz)

[B,U]=BCFCM2D(Y,v,Options)

BCFCM3D.m

image thumbnail

updated almost 9 years ago

Random Vectors with Fixed Sum by Roger Stafford

Randomly and uniformly generates vectors with a specified sum and values in a specified interval. (random, fixedsum, ndimensional)

randfixedsum(n,m,s,a,b)

image thumbnail

updated almost 8 years ago

cell2str by Per-Anders Ekstrom

Convert a 2-D cell array of strings to a string in MATLAB syntax. (structures, cell arrays, cell string mat2str)

cell2str.m

image thumbnail

updated 3 years ago

PADCAT by Jos (10584)

concatenate vectors with different lengths by padding with NaN (v1.2, oct 2011) (matrix, matrices, matrix manipulation)

padcat(varargin)

image thumbnail

updated 3 years ago

Laplacian in 1D, 2D, or 3D by Andrew Knyazev

Sparse (1-3)D Laplacian on a rectangular grid with exact eigenpairs. (matrix, mathematics, laplacian)

laplacian(varargin)

image thumbnail

updated almost 9 years ago

Alamouti Space-Time Code by Massimo Allegritti

A function that simulate the Alamouti Space-Time code. (wireless, alamouti, space)

H=rey(Nt,Nr)

ber_ml=Alamoudi(snr,soglia);

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 1 year ago

PV array three level inverter (how connect ?) - help by Viliam

How do I connect a PV array to the converter? does not work... Please help me... (photovoltaic, solar cell, fotovoltaic)

foto

image thumbnail

updated 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 4 years ago

MATLAB Goto Statement by Husam Aldahiyat

The one and only. (goto, jump, jmp)

Example14

Example15

Example3

image thumbnail

updated almost 3 years ago

struct2xml by Wouter Falkena

Convert a MATLAB structure into a XML file. (struct2xml, struct, xml)

struct2xml( s, varargin )

image thumbnail

updated 1 year ago

Example files for "Programming with MATLAB" Webinar by Jiro Doke

Example files for "Programming with MATLAB" Webinar, first delivered October 3, 2013. (programming, mathworks, webinar)

Automated Wind Turbine Data Analysis

Wind Turbine Data Analysis

WindAnalysisFcn.m

image thumbnail

updated 8 years ago

read_kml by Amy Farris

Reads a Google Earth .kml file into Matlab (google earth, kml, read_kml)

image thumbnail

updated 3 years ago

Antenna Arrays by Amol Mahurkar

Produces radiation pattern for Broadside, Endfire, Binomial, and Dolph - Chebyshev antenna arrays (antenna array broadsi..., antenna, array)

Binomial_array_1.m

Broadside_array_1.m

Dolph_Chebyshev_array_1.m

image thumbnail

updated 8 years ago

grep: a pedestrian, very fast grep utility by us

a unix-like, very fast grep utility to find strings(s) in files of any type (path, directories, files)

fgrepdem

[pout,p]=grep(varargin)

image thumbnail

updated 10 months ago

deflection of a cantilever beam by Abhilash Harpale

calculates the deflection, bending moment and shear force for a cantilever beam. (solid mechanics, structures, civil)

deflection=beam_deflection(load,ei,l,dl)

image thumbnail

updated 5 years ago

Unique Rows for a cell array by Jim Hokanson

Find unique rows of a cell array containing columns with strings or scalars, or N-D matrices (cell array, unique, rows)

uniqueRowsCA(iCA,TREAT_NAN_EQUAL,FIRST_LAST)

image thumbnail

updated almost 8 years ago

Draw a circle in a matrix / image by Peter Bone

Draw a circle in a 2D matrix using the integer midpoint circle algorithm (draw, circle, 2d)

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 29 days ago

Finite Element Triangular Mesh Generator by Kehinde OROLU

This function generates triangular mesh for a rectangular shape structure for FEM analysis (mesh, finite element analys..., matrix)

femTriangularMeshGenerator(Lx,Ly,Nx,NE)

FEMmeshExample.m

image thumbnail

updated almost 3 years ago

Newton's method done right by Andrew Knyazev

Newton's method for solving systems of nonlinear equations, including nonsquare and inconsistent (mathematics, physics, modeling)

Newton(X,F,X0,varargin)

NewtonDemoRunMe.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 3 years ago

FilterM by Jan Simon

A faster FILTER and FILTFILT: Speedup factor 2.5 to 25 (signal processing, cmex, filter)

FiltFiltM(b, a, X, Dim)

FilterM(b, a, X, Z, Dim, Reverse)

uTest_FiltFiltM(doSpeed)

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 11 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 years ago

Structure display by Thomas Deneux

simple recursive display of a structure content in Matlab (structures, cell arrays, display recursive)

fn_structdisp(Xname)

Contact us