image thumbnail

updated 9 days ago

beam on Elastic foundation simulating with spring in matlab by masoudgeo

beam on Elastic foundation simulating with spring in matlab (simulation, structures, finite element)

thirdwithsupport.m

image thumbnail

updated 24 days ago

kpfield( S, fields ) by Michael Sansoni

Keep only specified fields in a structure. Inverse of rmfield. (structures, structure, fieldnames)

kpfield( S, fields )

image thumbnail

updated 26 days ago

Use a hash table by Dimitri Shvorob

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

get.m

enum2cell.m

Hashtable

image thumbnail

updated 26 days ago

Merge dataset arrays by Dimitri Shvorob

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

joindst.m

image thumbnail

updated 30 days ago

STRUCT2XML4EXCEL by Scott Frasso

Scott Frasso (view profile)

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

Unfold structure arrays by Frank Tap

Recursively display the contents of structure arrays (structures, cell arrays, display structure arr...)

unfold(SC,varargin)

image thumbnail

updated 1 month ago

JSON encode/decode by Léa Strobino

Parses a JSON string and returns a MATLAB object or encodes a MATLAB object into a JSON string (json, data import, data export)

image thumbnail

updated 2 months ago

simpleFileSelect(Filtr,Titl) by Osborn Oliver M

Simple UI file selection for multiple/single file selection (utilities, files, utility)

simpleFileSelect(Filtr,Titl)

image thumbnail

updated 3 months ago

Merge Options by Matthew Kelly

Merge a struct of default options with a struct of user options (merge, structures, options)

mergeOptions(default, user,name)

mergeOptions_test.m

image thumbnail

updated 4 months ago

Truss GUI Improved by gopisrt7

gopisrt7 (view profile)

Structural analysis of plane truss (truss, structures)

Truss_GUI_gopi

truss_trial3.swf

image thumbnail

updated 5 months ago

2D Frame Analysis by gopisrt7

gopisrt7 (view profile)

Structural Analysis of Plane Frame ussing matrix methods (plane frame, structures, structural analysis)

equivalent_joint_load(l,py,ay,q1,q2,a,b,m,am)

rigid_offset(a,b,l)

stiffness_matrix(l,A,I,E,bt)

image thumbnail

updated 5 months ago

PRINTSTRUCT | Recursively print structures to the command window or a cell char array by gooey

gooey (view profile)

Recursively print hierarchical outline of structure contents (structures, structure, print)

image thumbnail

updated 6 months ago

uniqueStruct by Valerio Biscione

perform "unique" on a vector of struct (unique, struct, structures)

uniqueStruct(strV)

image thumbnail

updated 6 months ago

CompareStructures by Peter

Peter (view profile)

Function for comparing the fields in a struct datatype (structures, comparison, utilities)

image thumbnail

updated 7 months ago

objHelper by Adam

Adam (view profile)

Convert object to struct (obj, object, class)

objHelper(obj,depthLimit,currentDepth)

objHelper_example001.m

image thumbnail

updated 8 months ago

Find_Variable(var_to_search, value_to_find) by Gordon

Gordon (view profile)

Looks through a structure or the base workspace to find variables equal to a value you specify (utilities, data exploration, matlab)

Find_Variable(var_to_search, value_to_find)

image thumbnail

updated 9 months ago

count_struct_nodes(a_struct) by Ben

Count the number of elements in a struct (structures)

count_struct_nodes(a_struct)

image thumbnail

updated 9 months ago

RecuMergeStruct(A, B) by Ben

Recursive merge of two structures. (structures)

RecuMergeStruct(A, B)

image thumbnail

updated 9 months ago

struct_field_diff(s1, s2, verbose, s1str, s2str) by Ben

Returns the difference between two structs (structures, diff)

struct_field_diff(s1, s2, verbose, s1str, s2str)

image thumbnail

updated 9 months ago

getnestedfield by gooey

gooey (view profile)

Find a (potentially nested) field in a structure and return its contents (struct, structures, nested)

image thumbnail

updated 9 months ago

STRUCTCOMPVIS by Michelle Hirsch

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

image thumbnail

updated 9 months ago

CONST structure by Rody Oldenhuis

STRUCT with immutable fields (code, structures, structure)

image thumbnail

updated 10 months ago

s2t(st) by Matthew Humphreys

Converts structure to table (structure, structures, table)

s2t(st)

image thumbnail

updated 11 months ago

Structural Analysis Numeric Methods Study by Mario

Structural Analysis (structures, analysis, dynamic)

export2GID.m

EulerBackwardIntegration( M,K,X0,V0,endTime,timeStep )

EulerForwardIntegration( M,K,X0,V0,endTime,timeStep )

image thumbnail

updated 1 year ago

Dynamic response of a building subject to a seismic input by Andrea La Spina

Dynamic response of a building subject to a seismic input (simulation, analysis, animation)

costruisci_spettro_risposta_elastica.m

calcola_k1(ag,t5,t95)

calcola_k2(ag,k1)

image thumbnail

updated 1 year ago

concatenatestruct(A,B) by Ben Oeveren

Concatenate structs with dissimilar fieldnames (structures, concatenate, struct)

concatenatestruct(A,B)

image thumbnail

updated 1 year ago

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

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

SearchStruct(StructName, SearchString, SearchOption)

image thumbnail

updated 1 year ago

add2struct(the_struct, struct_to_add) = new_struct by Mikhail

Mikhail (view profile)

Adds info from one struct to another, if fields of the first struct are all present in the second. (structures, struct, field)

add2struct(the_struct, struct_to_add)

image thumbnail

updated 1 year ago

rmfields(s,field) by Noam Greenboim

Remove fields from a structure array, but without causing error (structures, structure, data)

rmfields(s,field)

image thumbnail

updated 1 year ago

CATSTRUCT by Jos (10584)

Jos (10584) (view profile)

Concatenate/merge structures (v4.1, feb 2015). (cell arrays, combine, concatenate)

catstruct(varargin)

image thumbnail

updated 1 year ago

catStructs.c by Christopher Harris

catStructs.c concatinates two structures, each with unique feilds. Outputs one structure. (structures, concatination, mex)

image thumbnail

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

loadBs.m

cd_ifPathIsValid(varargin)

fnBaseExist(var1)

image thumbnail

updated almost 2 years ago

structfun2 by Denis Anikiev

Apply a binary operation function to each field of two input structures (structfun, structure, structures)

structfun2(fun,struct1,struct2)

image thumbnail

updated 2 years ago

flattenStruct2Cell by Paul

Paul (view profile)

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

flattenStruct2Cell(I)

image thumbnail

updated 2 years 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)

beam_deflection(load,ei,l,dl)

image thumbnail

updated 2 years ago

emptyStruct by David Young

David Young (view profile)

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

emptyStruct(fieldnames, sz)

image thumbnail

updated 2 years ago

grades by m.montaser sabry

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

grades.m

image thumbnail

updated 2 years ago

struct2double by Clayton

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

struct2double(in,field)

image thumbnail

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

Structure display by Thomas Deneux

Thomas Deneux (view profile)

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

fn_structdisp(Xname)

image thumbnail

updated 4 years ago

CatStruct2 by Hassan

Hassan (view profile)

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

CatStruct2(Struct1, Struct2, SortOption)

image thumbnail

updated 4 years ago

Merge Structures by Igor Kaufman

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

mergestruct(A,B)

image thumbnail

updated 4 years ago

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

Nikolay S. (view profile)

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

funXapply(varargin)

image thumbnail

updated 4 years ago

combineOpt by Andrey Popov

Andrey Popov (view profile)

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

combineOpt(options,default_options)

image thumbnail

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

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

Peter Webb (view profile)

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

SHOWCELL & CELL\DISP by Jiro Doke

Jiro Doke (view profile)

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

disp(arg)

display(arg)

showcell(varargin)

Contact us