slim71 / MATLAB-scripts

Useful scripts for MATLAB programs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MATLAB

This folder contains useful MATLAB functions I've implemented along the way.

figure2()

This provides an alternative to the standard figure() functions, to automatically detect a second screen and open the figures in it (if available). The number of figures in not yet supported.

Credits go to Jan, in this post in the Mathworks Forum. WindowState added as for this post

indexAt()

Useful script to automatically extract an indexed element of a returning value from the specified expression.

Credits go to Walter Roberson & Stephen in the answer at this post in the Mathworks forum.

They first coded this as an anonymous function, I've simply implemented it as readily-available.

outval()

Useful script to automatically pick one or more return values from a function that has more than one.

Implemented based on this post in the Mathworks forum.

About

Useful scripts for MATLAB programs

License:GNU General Public License v3.0


Languages

Language:MATLAB 100.0%