Functional programming

Mutable list in matlab

The following Matlab project contains the source code and Matlab examples used for mutable list. This simple function spawns a GUI with buttons for reordering, deleting, and selecting list elements. Syntax Example: items = {'Item 1','Item 2','Item 3','Item 4','Item 5'}; [items idx] = mutable_list(items,'InitVal',3); Type "help mutable_list" for more information

Append a new entry to structure array, fields don't need to be same in matlab

The following Matlab project contains the source code and Matlab examples used for append a new entry to structure array, fields don't need to be same. This is quite handy for me as I could not deal with MATLAB's requirement of having _exact_ same fields in structure arrays if you want to work with the structure outside the array and then append/insert it back in.

File append in matlab

The following Matlab project contains the source code and Matlab examples used for file append. Appends text to an existing text file or creates a new text file, usage is analogous to Matlab's native fileread. Usage: fileappend(logfile, 'Plot ### Created on ##.##.## by ***');

Append pdfs in matlab

The following Matlab project contains the source code and Matlab examples used for append pdfs. This function appends multiple PDF files to an existing PDF file, or concatenates them into a PDF file if the output file doesn't yet exist.
Subscribe to RSS - Functional programming