image thumbnail

updated 1 month ago

flattenStruct2Cell by Paul

Takes a Nested Structure, and returns a linear Cell array (structure, structures, cell arrays)

[cellstack cellnamestack]=flattenStruct2Cell(I)

image thumbnail

updated 1 month ago

Bytestream Save Toolbox by Jan Berling

Ultrafast saving of workspace variables as bytestreams. Especially useful for big cells and structs. (save, bytestream, cell arrays)

InBase=fnBaseExist(var1)

cd_ifPathIsValid(varargin)

isValidPathName(pathInput)

image thumbnail

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

CONST structure by Rody Oldenhuis

STRUCT with immutable fields (code, structures, structure)

const.m

image thumbnail

updated 3 months ago

emptyStruct by David Young

Creates empty struct arrays of various kinds (structures, structure, struct)

emptyStruct(fieldnames, sz)

image thumbnail

updated 3 months ago

grades by m.montaser sabry

simple program to get grades with ability to modify (structures)

grades.m

image thumbnail

updated 4 months ago

CATSTRUCT by Jos (10584)

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

catstruct(varargin)

image thumbnail

updated 7 months ago

struct2double by Clayton

Converts a structure into a double format. (structures, doubles, format)

[out]=struct2double(in,field)

image thumbnail

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

image thumbnail

updated 2 years ago

CatStruct2 by Hassan

Concatenates Structures (fields each depth are merged) (structures, structure, struct)

CatStruct2(Struct1, Struct2, SortOption)

image thumbnail

updated 2 years ago

Merge Structures by Igor Kaufman

Recursively merges fields and subfiels of two structures. (matlab general, structures)

mergestruct(A,B)

image thumbnail

updated 2 years ago

Apply multiple functions in a single function. by Nikolay S.

Allows the user to apply functions to inputs, with various input-output combination's. (variables, structures, utility)

varargout=funXapply(varargin)

image thumbnail

updated 2 years ago

combineOpt by Andrey Popov

Combine user provided option's structure with a default one (structures, cell arrays, function)

combineOpt(options,default_options)

image thumbnail

updated 2 years 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. (variables, structures, struct)

v2struct

[]=v2structDemo2()

v2structDemo1()

image thumbnail

updated almost 3 years ago

Subscripted Reference for Structures by Brian Emery

Applies indexing to the fields of a structure. (structures, indexing)

subsref_struct(S,i,n,rc)

image thumbnail

updated almost 3 years ago

Bus X Struct by Gustavo Baldo Carvalho

This example shows how to import Matlab Structs into Simulink by using BusObjects. (bus, structures, simulink)

MyBusObj()

MyBusObjA()

MyBusObjB()

image thumbnail

updated almost 3 years ago

Using MATLAB Structures in C# with Builder NE by Peter Webb

Code for the "Art of MATLAB" post - shows how to pass structures between MATLAB and C#. (type safe, builder ne, type safe api)

computeOrbit(planet)

image thumbnail

updated 3 years ago

SHOWCELL & CELL\DISP by Jiro Doke

Displays cell array with long strings in the command window. (structures, cell arrays, display)

disp(arg)

display(arg)

showcell(varargin)

image thumbnail

updated 3 years ago

Simple Hashtable - Repackaged by Dean Mark

Simple hashtable class repackaged in the new matlab class format. (cell arrays, data structure, hash)

Hashtable

hash_test.m

image thumbnail

updated almost 4 years ago

Apply a function to a specific field of a structure by Reza Farrahi Moghaddam

This function searches in a structure, and applies a function to all occurrences of a field. (structures, data exploration)

apply_func_on_all_fields_with_name.m

mypublishtest.m

image thumbnail

updated almost 4 years ago

vsize: a pedestrian variable decoder by us

VSIZE determines the full anatomy for named or unnamed variables of any depth and complexity (whos, ndims, size)

[p,par]=vsize(varargin)

image thumbnail

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

collapseStructure by Caradoc

Returns an n dimensional cell array of the values of a given field in a structure of depth n (structures, cell arrays)

collapseStructure(inStructure,retField,dim)

padCell(cell1,cell2)

image thumbnail

updated 4 years ago

STRUCTCOMPVIS by Michelle Hirsch

Use visual differencing tool to compare two structures. (structures, cell arrays, structure)

structcompvis(s1,s2)

image thumbnail

updated 4 years ago

Matrix Analysis of Two Dimensional Bar Structures MABS2D by Marcos Cesar Ruggeri

This program solves bar structures of constant area through matrix analysis of structures. (aerospace, aeronautics, aerodef)

mabs2d.m

image thumbnail

updated almost 5 years ago

hashtable class by Christopher

general purpose hashtable (structures, cell arrays, hashtable)

hashtable(varargin)

pumpkin(val)

hashtable_tests.m

image thumbnail

updated almost 5 years ago

StructBrowser by Hassan Lahdili

StructBrowser, GUI for browsing any structure (or nested structures) and plotting its fields. (structures, cell arrays, browse)

StructBrowser_gui_g.m

copy_all_struct.m

StructBrowser.m

image thumbnail

updated 5 years ago

Merge dataset arrays by Dimitri Shvorob

(in a SQL equijoin) (structures, cell arrays, dataset)

joindst(x,y,type,varargin)

image thumbnail

updated 5 years ago

SORTFIELDS by Ian Howat

SORTFIELDS sort values in all fields within a structure. (structures, cell arrays, field)

sortfields(varargin)

image thumbnail

updated 5 years ago

javaTable by Matt Dunham

Simple function to display cell array data in a nice looking Java JTable (structures, cell arrays, java)

javaTable(data,columnNames,tableName)

image thumbnail

updated 5 years ago

Use a hash table by Dimitri Shvorob

(Java class wrapper) (structures, cell arrays, hash)

Hashtable

image thumbnail

updated 5 years ago

csv2cell by Arthur Hebert

Parse CSV files from Excel, mixed data types, to cell array. (structures, cell arrays, parse csv)

csv2cell(varargin)

image thumbnail

updated almost 6 years ago

num2cellstr by Andrew Watson

num2CellStr converts numeric or logical array to a cell array of strings (structures, cell arrays, num2cellstr)

num2cellstr(x, format)

image thumbnail

updated almost 6 years ago

Flexible search and listing tool for field names in a structure array by Paul A.M. Bune

Searches for field names in a structure array and lists them (structures, cell arrays, search)

...

image thumbnail

updated 6 years ago

rowmatrix indexing by Shoeb Temrikar

index matrices in rowwise fashion (structures, cell arrays, indexing)

rowmatrix.m

image thumbnail

updated 6 years ago

Order all fields by Paul A.M. Bune

Order fields of a structure array on all levels (structures, cell arrays, orderfields)

OrderAllFields(StructToSort)

image thumbnail

updated 6 years ago

lookupTable by Dan Cohn

Creates a lookup table for a collection of key/value pairs (structures, cell arrays, lookup table)

lookupTable(varargin)

image thumbnail

updated 6 years ago

csxfun by Dan Cohn

bsxfun for cell arrays (structures, cell arrays, cell)

csxfun(fhandle,x,y,varargin)

image thumbnail

updated 6 years ago

STRUCT2XML4EXCEL by Scott Frasso

Write a large struct to xml for edting in Excel, and load it back into a struct. (structures, cell arrays, struct xml excel)

struct2xml(testStruct,xmlFileName)

xml2struct(xmlFileName)

README.m

image thumbnail

updated 6 years ago

Structure outline by B.

Prints the hierarchy outline of a structure with optionally, field values. (structures, cell arrays, structure tree outlin...)

strucdisp(Structure, depth, printValues, maxArrayLength, ...

image thumbnail

updated 6 years ago

Sorting a Cell Array by Jeff Jackson

This function will sort a cell array even if it is mixed. (structures, cell arrays, sort cell array)

sortcell(X, DIM)

image thumbnail

updated 6 years ago

struct2str recursive by Felix Zoergiebel

Displays a struct's content in a list box. View a substruct's content by selecting its list entry. (structures, cell arrays, struct)

struct2str(s, disp_str, index_of_fields_to_use, x_ratio, ...

image thumbnail

updated 6 years ago

Display data as an HTML table by Gus Brown

Display a matrix or cell array as a HTML formatted table (structures, cell arrays, cell matrix html)

GTHTMLtable(varargin)

image thumbnail

updated 6 years ago

explorestruct by Hassan Lahdili

MATLAB Utility for exploring structures and plotting its fields. (structures, cell arrays, utilities)

explorestruct.m

es_demo.m

image thumbnail

updated almost 7 years ago

cell2num by Darren

Used to convert 2 dimensional cell array of single numbers to a matrix. (structures, cell arrays, cell conversion)

[outputmat]=cell2num(inputcell)

image thumbnail

updated almost 7 years ago

Mass-Dampening-Stiffness Matrix EOM by Brent Lewis

Program sets up Mass-Dampening-Stiffness Matrices for proprtionally damped system of mass, springs (mechanical modeling, eom, equation of motion)

MDK(m,k,m_con,k_con,alpha,beta)

Test.m

image thumbnail

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

strrepx by Mathias Benedek

Replace string with another in any location of a mixed cell/struct - data structure (structures, cell arrays, strrep)

strrepx(v, s1, s2)

image thumbnail

updated 7 years ago

struct2ws by Maximilien Chaumon

Throws selected fields of a scalar structure in the current workspace. (structures, cell arrays, workspace)

struct2ws(s,varargin)

Contact us