image thumbnail

updated 14 days ago

struct2csv by James Slegers

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

struct2csv(s,fn)

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

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

Converts 3D and 2D MATLAB plots to the scalable vector format (SVG). (plot2svg, svg filters, 3d)

demo_svg_water

plot2svg.m

simulink2svg

image thumbnail

updated 11 months ago

Export figure to 3D interactive PDF by Ioannis Filippidis

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

[strmodelshading, strfaces_colors, strfaceshading, strcolor...

arclength(px,py,varargin)

axes_extremal_xyz(ax)

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

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

dput by John Colby

Generates paste-able ASCII representations of MATLAB variables (save, ascii, data export)

dput(varargin)

test_dput

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

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

parsave by Philip

This function allows you to save variables inside a parfor loop. (parfor, save, data export)

parsave(fname,data)

image thumbnail

updated 2 years ago

tf2tex by James Slegers

Creates a Tex string based on a transfer function object (control design, data export, tf)

tf2tex(tran)

image thumbnail

updated 2 years ago

Sudoku by Mohit Gupta

Solves 9X9 Sudokus of any difficulty level (matrix, game, control design)

[]=msave(b,d,i,j,a,n)

[a,test]=mgeta(d,i,j,n)

[b,d]=mupdate(b,d)

image thumbnail

updated 2 years ago

Write Cell Array to Text File by Roland Pfister

A cell array is written to a delimited output file, incl. options for appending & custom delimiters. (array, cell, dlmwrite)

dlmcell(file,cell_array,varargin)

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

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 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

export matlab data to excell by Sherif Omran

A simple function to export data to excel. The function writes a CSF text file. (csv, data, excell)

ReportGeneratorAdd(linestr,logfilename)

test.m

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

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

Convert a vector/array/matrix of values into a comma-separated string by Yair Altman

Converts input of unknown size/type into compact single-line string suitable for log files & uitable (data export, matrix, data exploration)

vec2str(vec,format,numericFlag,encloseFlag)

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)

image thumbnail

updated 8 years ago

MATLAB to Hypre and Hypre to MATLAB matrix and vector converter by Diana Zakaryan

Converts MATLAB formatted matrices and/or vectors to Hypre format and vice versa. (data import, data export, hypre)

hypreIJ2matlab(matrix_filename,imax)

hypreParVectors2matlab(filename,num_of_vectors)

matlab2hypreIJ(matlab_smatrix,num_procs,matrix_filename,var...

image thumbnail

updated 8 years ago

cell2csv by Rob Kohr

Writes cell array content into a *.csv file. (csv, data, cell)

cell2csv(filename,cellArray,delimiter)

image thumbnail

updated 8 years ago

XML Toolbox by Marc Molinari

Conversion of MATLAB data types to XML and vice versa. (xml, xml toolbox, data export)

toolbox_test

strsplit.m

unblank.m

image thumbnail

updated 8 years ago

CELLWRITE by Francis Barnhart

Cellwrite writes mixed cell array data to a CSV file. (cell array, csvwrite, data import)

cellwrite(filename, cellarray)

image thumbnail

updated 8 years ago

MAT2STR2 by Daniel Claxton

Converts matrix to formatted string. (data import, data export, mat2str)

mat2str2(A,format),

image thumbnail

updated 8 years ago

load2var by Michael Robbins

Load a specific variable from a mat file and returns it. (data import, data export, load)

load2var_return=load2var(filename,varname)

image thumbnail

updated 9 years ago

matrix2latex by Moritz Koehler

MATLAB array to LaTeX table converter. (table, matrix, array)

matrix2latex(matrix, filename, varargin)

image thumbnail

updated 11 years ago

readtexttocells by Andrew Diamond

Read delimted text file into 2-d cell array. (csv, cell arrays, cells)

A=readtexttocells(path, coldelimchar)

Contact us