image thumbnail

updated 14 days 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 5 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 5 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 5 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 5 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 8 months 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 8 months ago

Linear regression with statistics for multiple category data by Soumya Banerjee

This function does linear regression with statistics for multiple category data (OLS and RMA) (aerospace, automotive, biotech)

regress_plot_twocategories

image thumbnail

updated 8 months ago

MappedTensor class by Dylan Muir

Manages very large tensors of arbitrary dimensions as mapped files on disk; complex support. (matrix, large tensor, mapped file)

MappedTensor

image thumbnail

updated 12 months ago

Import of log files created by Presentation by Tobias Otto

This function imports log files created by Presentation into MATLAB for analysis. (neuroscience, presentation, log file)

importPresentationLog(fileName, extraNames)

image thumbnail

updated 1 year ago

OpenStreetMap Functions by Ioannis Filippidis

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

...

...

[d pred]=dijkstra(A,u)

image thumbnail

updated 1 year ago

BER of BPSK & DEPSK over Rayleigh fading chanel by Sourav Mondal

Plots the BER of BPSK & DEPSK schemes over Rayleigh fading channel. (bpsk, wireless, demo)

maximum number of Rx antennas

maximum number of Rx antennas

main_DEPSK_mrc.m

image thumbnail

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

Monte Carlo Markov Chain for inferring parameters for an Ordinary Differential Equation model by Soumya Banerjee

This function uses a Monte Carlo Markov Chain algorithm to infer parameters for an ODE model (biotech, data export, data import)

mcmc_ode

analyze_mcmc(parallel)

test_gamma()

image thumbnail

updated 1 year ago

myDynamicClass by Mark Mikofski

Create a set of objects from a text file. (data import, class, oop)

myDynamicClass

image thumbnail

updated 1 year ago

Find the "I J K" indices of any element number "e" in the 2D or 3D matrix by sunil anandatheertha

Many a times it may be required to identify the indices, 'i','j' and 'k' values of an element number (aerospace, automotive, communications)

[row,column,plane]=findijk(e,rcp)

image thumbnail

updated 1 year ago

Graphical User Interface for Solving Ordinary Differential Equations by Soumya Banerjee

A Graphical User Interface for Solving Ordinary Differential Equations (Immune Response Model) (data export, data import, gui)

odecall_eclipse_tcl_jv_local(target,infected,...

odesolver_outline(varargin)

image thumbnail

updated 1 year ago

Bit-slicing function for integer matrices by Damon Bradley

function E = bitreslice(A,b_old, b_new, echo_on) Re-packages bits of a matrix of integers. (bit vector, bit slicing, rearrange bits)

bitreslice(A,b_old, b_new, echo_on)

image thumbnail

updated 1 year ago

Linear regression on log transformed data by Soumya Banerjee

A function that takes two column vectors and does linear regression on the data (statistics, mathematics, data import)

regress_custom(input_x,input_y,desc,x_label,y_label)

image thumbnail

updated 1 year 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, data export)

standard_fig(varargin)

gui_class_example

image thumbnail

updated 1 year ago

TIFFStack by Dylan Muir

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

TIFFStack

image thumbnail

updated 1 year ago

C++.NET programs inside MATLAB language by Mohammed Siddeq

run C++/C++.NET programs inside MATLAB language (communications, mathematics, image processing)

[M]=Read_Write_File_Data(X,R_W,Check_Matrix,Str)

image thumbnail

updated 2 years ago

File I/O for Cell Arrays by Kamil Wojcicki

Wrappers for reading and writing text between files and cell arrays. (cell array, read file, data import)

cell2file( list, file )

file2cell( file )

image thumbnail

updated 2 years ago

Loader of a .txt file to a MATLAB matrix by Luka

Loads a content of a .txt file and stores it in a MATLAB matrix (txt, matrix, signal processing)

txt2mat(data)

image thumbnail

updated 2 years ago

Function to generate Timeseries file to use for Moore FSM coverage analysis. by Paul Metcalf

This function generates a Timeseries file which can be used for Moore FSM coverage analysis. (control design, data import, demo)

generatetestdata(i)

image thumbnail

updated 2 years ago

(another) JSON Parser by François Glineur

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

parse_json(string)

image thumbnail

updated 2 years ago

Structure Cut by Sean Bryan

Utility function that applies the same cut to specified elements of a structure. (signal processing, structure, struct)

struct_cut( in, field_arr, indices )

image thumbnail

updated almost 3 years ago

Arduino IO package: Slides and Examples by Giampiero Campa

Slides for the webinar: "Learning Basic Mechatronics Concepts Using the Arduino Board and MATLAB". (analog, arduino, motor)

example_io.m

example_mot.m

image thumbnail

updated almost 3 years ago

Write a cell array to a text file by Ameya Deoras

Write formatted data from a cell array to a text file (data import, data export, utilities)

fwritecell(filename, format, data)

fwritecell_example.m

image thumbnail

updated 3 years ago

DateConvert by Jan Simon

Simple but fast date conversion: 1.3% of DATESTR time, 20% of DATEVEC/ DATENUM time (conversion, string, serial date number)

DateConvert(DIn, OutFormat)

TestDateConvert(doSpeed)

image thumbnail

updated 3 years ago

Struct String Replace by Ross Hatton

Replace strings in nested structure and cell arrays. (data import, data export, string)

struct_string_replace(data,originalstring,newstring)

image thumbnail

updated 3 years ago

matlab2hypre and hypre2matlab by Andrew Knyazev

Read and write files with sparse matrices and vectors in hypre format (mathematics, data export, data import)

hypreIJ2matlab(filename)

hypreParVectors2matlab(filename,varargin)

matlab2hypreIJ(A, num_procs, filename, varargin)

image thumbnail

updated 3 years ago

loadcell.m by Amos Storkey

Loads character seperated data with variable length lines and mixed types. (data import, data export, load)

[lc,dflag,dattype]=loadcell(fname,delim,exclusions,varargin...

image thumbnail

updated 3 years ago

MAT2CLIP by Jiro Doke

Copies the contents of a matrix to the CLIPBOARD. (data import, data export, copy)

mat2clip(a, delim)

image thumbnail

updated 3 years ago

The speed of reading and writing matrix by function by Su Dongcai

A simple demonstration on the speed of reading and writing matrix by function (function, read, write)

check_rwSpeed(data, N_iters)

image thumbnail

updated 3 years ago

Merge sort of Multidimensional array by Chandan

Sorting of array both single or multidimensional using Merge sorting technique. (mathematics, data import, data exploration)

readfile()

image thumbnail

updated almost 4 years ago

Gaussian Pyramid by Pranam Janney

Generates a gaussian pyramid for the given input image (image processing, medical, statistics)

Gscale(img,levels,gsize,sigma);

image thumbnail

updated 4 years ago

Generate .m-file code for any MATLAB variable by Volkmar Glauche

Generate .m script code for any MATLAB variable. If run, the code recreates the input variable. (data export, gui, matrix)

GENERATE CODE FOR VARIABLES

gencode(item, tag, tagctx)

gencode_rvalue(item)

image thumbnail

updated 4 years ago

JSON Parser by Joel Feenstra

Parses JSON strings into structures and cells (data import, json, cell arrays)

parse_json(json)

image thumbnail

updated 4 years ago

readline.m v3.0 (Jun, 2009) by Carlos Adrian Vargas Aguilera

Reads the specified line(s) from a file. (getl, textscan, text)

readline(FILE,NLINE,TYPE,varargin)

image thumbnail

updated 4 years ago

struct2ini by Dirk Lohse

struct2ini writes a given structure into an ini-file. (data import, data export, struct)

struct2ini(filename,Structure)

image thumbnail

updated 4 years ago

HDF5 data to struct reader by Pauli Virtanen

Read datasets and groups from a HDF5 file to a Matlab structure conveniently (data import, struct, hdf5)

data=h5load(filename, path)

image thumbnail

updated 4 years ago

CELL2STR by Daniel Claxton

CELL2STR converts a cell array of strings into a character array. (data export, data import, matrix)

cell2str(c)

image thumbnail

updated 4 years ago

uigetfiles by Emmanuel Farhi

A fileselector as uigetfile, with multiple selection which does not require Java (data import, data export, function)

uigetfiles(filterspec, title, varargin)

image thumbnail

updated 4 years ago

ascii2xyz by Andrew Stevens

convert ARC ASCII text file to xyz (data import, data export, import)

xyz=ascii2xyz(varargin)

image thumbnail

updated 4 years ago

Image Processing Subset by Anthony Gabrielson

I have started to write a subset of the Image Processing toolbox. (signal processing, image processing, mex)

buildMex(filename, enblDbg)

image thumbnail

updated 5 years ago

Excel Column Name to Number by Matt G

Converts a cell array of Excel column names to an array of Excel column numbers (data import, data export, excel)

xlsColStr2Num( colChar )

image thumbnail

updated 6 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 export, array, delimited)

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

image thumbnail

updated 6 years ago

HDF 5 Data extractor by Daniel Buckton

Extracts data from a HDF5 file and returns it as structure to MATLAB. (data import, data export, hdf)

hdf5extract(hdf_fname)

image thumbnail

updated almost 7 years ago

latexcmd by Peder Axensten

A simple yet flexible way to access Matlab results from LaTeX documents. Includes an example file. (data import, data export, export)

latexcmd(filename, varargin)

latexcmd_example(varargin)

image thumbnail

updated 7 years ago

Modified matrix2latex. by Christopher Granade

Translates a MATLAB matrix into a LaTeX table. (data import, data export, latex)

matrix2latex(matrix, filename, varargin)

Contact us