Shows how you can yield out of nested function calls. The version here works with methods.
Lightweight IDE (LWP) is a minimalistic, easy to use IDE for Mac OSX for Pascal/Object Pascal/C/C++/ObjC that provides a multi-window editor with syntax coloring, function pop-up and error shortcuts. It serves as a front-end to FPC and GCC.
Tired of using USERDATA or GUIDATA calls to share data between callbacks in GUIDE? Nested callbacks are the answer. A nested function can "see" all the data that the top level function can. You therefore no longer need to painstakingly...
These two examples, which were originally posted in the MATLAB newsgroup comp.soft-sys.matlab, demonstrate how to use the nested function capability of MATLAB 7.0 (R14) and later versions to reduce the number of parameters that need to be passed...
This application uses a WSDL web service to provide live (albeit 20 minute delayed) stock quotes. By using a MATLAB timer object, it runs continuously as a background task (without blocking the MATLAB command line).
This application is...
This code provides a tool to identify a state space model from stochastic signals using a subspace approach.
The code is implemented in two steps using a nested function. The first step returns a vector of subspace singular values, from...
DBG is a full-featured PHP Debugger and Profiler. Makes it easier to find problems or bugs in PHP scripts. DBG supports back-tracking, watching variables, viewing arguments passed to all nested function calls at any point of execution. Opensource.
This m-file returns the angle in decimals of degrees of the cross product of two vectors. Both vectors must be of 3 elements.
Syntax: function anxp(A,B)
A and B - vectors must be of 3 elements.
UICAL is an implementation of a calendar date picker which uses the power of the nested functions.
UICAL is easily customizable in terms of colors and even languages. In fact you can easily add you own set of languages.
Calculates the number of combinations of N objects taken R at a time. This type of sampling is an unordered sample without replacement.
Syntax: function c = ncombr(n,r)
n - number of objects
r - number of...
The homogeneity of variances test is a useful tool in many scientific applications. Boos and Brownie (2004) and Conover et al. (1981) give a broad review.
Here, we developed an m-file as an alternative to the homogeinity of variances...
Calculates the number of permutations of N objects taken R at a time. This type of sampling is an ordered sample without replacement.
Syntax: function p = npermr(n,r)
n - number of objects
r - number of...
**This has no practical use. I made it as my own exercise for 3d animation. You have been warned.***
GEAR3D GUI example of 3D gear.
GEAR3D will pop up a GUI example of 3D gear. The gear rolls on a geared ground based on the...
solvesimul.m can be easily adapted to solve more equations but as it stands it will solve 2 unknowns in 2 equations (1 non-linear and one linear).
To solve equations of this form...
a*x + b*y = A (1)
a1*x^2 + b1*y^2 =...
This is a small but powerful tool for multivariable subspace identification. It implements the so called Multivariable Output Error State Space algorithm.
The identification is carried out in two steps by using the nested function...
As planned, this is the second part of the MPC series. To dealing with multivariable, state-space model is most convenient. In this part, a tool to setup the state-space model based predictive controller is provided. The setup program returns a...
This is a collection of GUIs meant to serve either to answer specific questions about writing GUIs or as a teaching tool to aid in learning how to write MATLAB GUIs without GUIDE. Many of these are inspired directly from the newsgroup.
The "nest" generator function in this module is provided to make writing
nested loops easier to accomplish. Instead of writing a for loop at each
level, one may call "nest" with each sequence as an argument and...
Sample syntax highlighting file for use with jEdit. Was written with help from "Write MATLAB function list" submission.
Writes to file a sorted list of MATLAB functions for all MathWorks products installed on the machine (that the function is executed on). Denotes which functions are built-in to help with syntax highlighting.