image thumbnail

updated 12 hours ago

compareStruct by Marco Borges

Compare Structs fields (compare isequal strcm..., compare, isequal)

compareStruct(a,b)

image thumbnail

updated 2 days ago

pushNaNs by Daniel

Pushes NaNs to the bottom of each column of X. (nan, order, sort)

pushnans( X,truncate )

image thumbnail

updated 3 days ago

Round using error estimate by Jack Peterson

Rounds a number and its error off so they are more readable. (error, round, estimate)

pretty_errors(u,u_err)

image thumbnail

updated 6 days ago

escapeString: convert special characters in a string into their escape sequences by Christian

Escapes special characters (\r, \t, ...) in a string and returns the escaped string. (escape, string)

escapeString(str)

image thumbnail

updated 6 days ago

Save and load Matlab "projects" in editor by Kevin Bartlett

Saves and loads Matlab "projects" in editor (currently-open files, working directory, search path). (editor, project, programming)

matproj(varargin)

image thumbnail

updated 9 days ago

Grid of points within a polygon by Sulimon

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

polygrid( xv, yv, ppa)

image thumbnail

updated 10 days ago

Many observations from arbitrary PDF by Jack Peterson

Generate many observations from an arbitrary PDF. (pdf, arbitrary, random)

randarbmulti(x,y,N)

image thumbnail

updated 10 days 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, demo, mathematics)

Kmeans_Pre_Post.m

kmeans_clustering.m

Image_kmeans_main.m

image thumbnail

updated 10 days ago

STRJOIN by Kota Yamaguchi

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

strjoin(input, separator)

image thumbnail

updated 17 days ago

ShowStructTree.m by Richard Moore

Display the fields of a structure as a tree. (struct, structure, struct contents)

ShowStructTree(run,toprint)

image thumbnail

updated 18 days ago

video from random points by Maxim Vedenyov

probability controled by frames of video (rejection sampling, video, random)

from_gif.m

from_gif_to_avi.m

from_gif_to_gif.m

image thumbnail

updated 21 days ago

Computation Of Antenna Array Paterns plot by Tamir Suliman

Simple matlab program for Computation of Antenna Array patterns and plotting the patterns (satellite communicati..., antennas, array)

antenna_patterns_excitation_strength.m

image thumbnail

updated 23 days ago

COMBNSUB (1.0) by Jos (10584)

Subset IX of all combinations of N elements of a vector V (combination, subset, selection)

combnsub(V,N, IX)

image thumbnail

updated 24 days 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... (fotovoltaic, array, simulink)

foto

image thumbnail

updated 27 days 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 28 days ago

absmax by Adam McNeilly

Returns the value of the element with the largest absolute value in the input matrix. (absolute, abs, maximum)

maximum=absmax(A)

image thumbnail

updated 1 month ago

randomfacegenerator by Joseph Hollmann

Function creates random cartoon faces. (fun, silly, random)

randomfacegenerator;

image thumbnail

updated 1 month ago

MetricPrefixStr - Print SI Prefix Formatted Numbers by Damon Bradley

Prints a SI prefix formatted string corresponding to a numeric vector. (latex, format, string)

MetricPrefixStr(xtickvec)

image thumbnail

updated 1 month 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 month ago

modified cumsum for partial accumulated sums by Stephan Koehler

Determine the accumulated sum of series of non-zero values of vectors, resetting at zero entries (mathematics, physics, matrix)

cumsum_restart0( varargin )

image thumbnail

updated 1 month ago

matlab-ParforProgress2 by Andreas

A Java PARFOR progress monitor for matlab GUI and command line (works with normal for loops) (parallel, parfor, progress monitor)

ParforProgressStarter2(s, n, percentage, do_debug)

ParforProgressStressTest2(N)

get_matlab_version()

image thumbnail

updated 1 month ago

matlab-ClassInheritanceBrowser by Andreas

A tool for managing and organizing classes, with a simple interface and (optional) tree diagram (biograph, class, class inheritance)

classInheritance.Tree

classInheritance.browse

classInheritance.iTree

image thumbnail

updated 1 month ago

Find values in a vector or function by Adrian Lara-Quintanilla

For a function y=f(x), this script looks for all the "x" values for a desired value of "y" (y0). (mathematics, data exploration, time series)

varargout=findvalues(vector,yvalue)

image thumbnail

updated 1 month ago

SPARSECLEAN - Efficiently cleans a sparse matrix of small values or nan by James Tursa

SPARSECLEAN cleans a double sparse matrix of small or nan values or values within a range. (sparse, clean, nan)

sparseclean(varargin)

image thumbnail

updated 1 month ago

Step and impulse responses under the effect of noise or uncertainty by Lazaros Moysis

This file demonstrates how the responses of a system change, for small fluctuations of ω and j. (response, step, impulse)

robust1c.m

image thumbnail

updated 1 month ago

tridiag.m by Mark Holmes

tridiagonal matrix equation solver (Thomas algorithm) (mathematics, matrix)

tridiag( a, b, c, f )

image thumbnail

updated 1 month ago

ISO 8601 Date String to Serial Date Number by Stephen Cobeldick

Convert an ISO 8601 Date String to a Serial Date Number. Autodetect or select timestamp style. (calendar date, date, datenum)

datenum8601(str,tok)

image thumbnail

updated 1 month ago

Convert from a structure of arrays into an array of structures by Celso Reyes

converts from a structure, where each field contains an Nx1 array, into an 1xN array of structures (arrays, structures, convert)

structofarrays2arrayofstructs(A)

image thumbnail

updated 1 month ago

CATSTRUCT by Jos (10584)

Concatenate/merge structures (v3.0, mar 2013). (concatenate, cell arrays, merge)

catstruct(varargin)

image thumbnail

updated 2 months ago

TexTab by Marcel Rüland

Create formatted tables and save them as a picture like png. Saving tex files is also possible. (data export, matrix, table)

Base

TexTab.m

image thumbnail

updated 2 months ago

Create a quadratic Matrix of DICOM images by Thomas Lindner

Load all DICOM images, change the Matrix size and save them again, keeping the header (Metadata). (dicom, matrix size, load dicom)

change_DICOM_Matrix.m

image thumbnail

updated 2 months ago

comb by Justin Winokur

Quickly generate all combination of integers up to specified value in each dimension (statistics, matrix, mathematics)

comb_arr=comb(p,start)

image thumbnail

updated 2 months ago

Easily store and retrieve subsets on big matrices on disk by Antoine Liutkus

Stores columns of a matrix one at a time in hard disk and permits to easily recover subsets of it. (matrix, storage, hard drive)

SimpleSequence

image thumbnail

updated 2 months ago

NANCAT by Sanjay Manohar

Like CAT, but padding with NaNs. Doesn't complain if input sizes heterogeneous. Faster than CATPAD. (nan, cat, matrix)

C=nancat(DIM, varargin)

image thumbnail

updated 3 months ago

quiverwcolorbar by Melissa Day

Generates a quiver plot colored according to vector magnitude and/or user specified axis boundaries. (quiver, vector, velocity)

quiverwcolorbar.m

image thumbnail

updated 3 months ago

Map2 - enhanced map class by Mikko Leppänen

Map2 enhance the functionality of the built-in containers.Map class. (containers, map, object oriented progr...)

Map2

image thumbnail

updated 3 months ago

NCHOOSECRIT (V1.0 feb 2013) by Jos (10584)

returns those subsets (= combinations of elements of a set) that fulfill a specific criterion (combinations, pick, subsets)

nchoosecrit(S, FUN)

image thumbnail

updated 3 months ago

One-Sided FFT by Aravazhi Anbarasu

More intuitive than built in function for simple operations.Useful for repetitive code and plotiing. (control design, physics, communications)

fft_calc(X,fs)

image thumbnail

updated 3 months 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 (communications, optimization, aerospace)

regress_plot_twocategories_allslope

image thumbnail

updated 3 months ago

Truncated multivariate normal by Tim Benham

Generates pseudo-random vectors drawn from the truncated multivariate normal distribution. (random, distribution, gaussian)

TruncatedGaussian(sigma, range, varargin)

rmvnrnd(mu,sigma,N,A,b,rhoThr,debug)

rmvnrnd_eg.m

image thumbnail

updated 3 months ago

Merge sort algorithm by ACLNM

This function executes what I think is the merge sort algorithm invented by John von Neumann in 1945 (sort, merge sort, mergesort)

fusioned( vec )

fusionedtest.m

image thumbnail

updated 3 months ago

voltage to current converter by safaa

V2I function (function)

v2i (vin,R1)

image thumbnail

updated 3 months ago

showcells by David Smith

Display contents and structure of a cell array using ASCII boxes. (data exploration, matrix, mathematics)

showcells (C)

demo.m

image thumbnail

updated 3 months ago

PlotArray by Patrick

Use this function to help plot multiple data series of different size without using hold! (matlab, data import, gui)

PlotArray( V,M )

image thumbnail

updated 4 months ago

Arrow3 Version 5 by Tom Davis

Draws lines with directional arrowheads. (arrow, arrow3, arrowhead)

hn=arrow3(p1,p2,s,w,h,ip,alpha,beta)

image thumbnail

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

Bar Chart with Error Bars by Martina Callaghan

This is a very simple extension of MatLab's bar function to add error bars. (error, bar, errorbar)

barwitherr(errors,varargin)

image thumbnail

updated 4 months ago

anovanTable by Sanjay Manohar

Calls ANOVAN, but takes an N-dimensional array as the data. (dimension, statistics, matrix)

anovanTable(T, varargin)

image thumbnail

updated 4 months ago

MIMO-Diofantine solver by davood shaghaghi

This function solve MIMO-Diofantine equation. (control design, optimization, simulation)

mimodioph(A,B,N)

image thumbnail

updated 4 months ago

Gaussian Elimination & Inverse Matrix Finder by Mohammed Al-Mostafa

Gaussian Elimination with pivoting& Inverse Matrix Finder using determinant and Gaussian elimination (matrix, mathematics)

Numerical.m

Contact us