Collection of C++ Examples for beginning and intermediate levels.
a = enumBase2(n) constructs a cell array that enumerates from 0 to (2^n - 1) in binary.
a = enumBase2(n,outputformat) constructs an array that enumerates from 0 to (2^n - 1) in binary. The type of array output is given by ...
This function provides some additional propoerties to the standard boxplot display. The basic old syntax of boxplot is retained, for compatibility.
The primary purpose is to allow for GROUPED boxplots, or subplots, of color codes...
This function OPENSURF, is an implementation of SURF (Speeded Up Robust Features). SURF will detect landmark points in an image, and describe the points by a vector which is robust against (a little bit) rotation ,scaling and noise. It can be used...
Greybox is a lot like the popular lightbox, but is used to display web sites on top of your current page as a popup. It's lightweight and just 1.2 KB in size!
A demo(outdated) is available if youd-deOaore interested in seeing some...
LISTZIPCONTENTS(ZIPFILENAME) lists the archived contents of ZIPFILENAME
ZIPFILENAME is a string specifying the name of the zip file.
ZIPFILENAME can include the directory name; otherwise, the file must be in the current...
BLUEWHITERED(M) returns an M-by-3 matrix containing a blue to white to red colormap, with white corresponding to the CAXIS value closest to zero. This colormap is most useful for images and surface plots with positive and negative values....
jQuery Eye Candy is a javascript wrapper module for several jquery plugins that handle appearance functions like rounded corners, drop shadows, and gradients. Using this module enables using these jquery plugins on all pages or selected pages...
[A, B, C, ...] = PULLDOWN(TITLE, X, Y, Z, ...) will invoke a simple pulldown menu with title TITLE, and lists of choices in cell arrays, X, Y, Z, ..., and provides the choice index for list X in A, the choice index for list Y in B, etc.
Solution of Fractional Optimal Control Problems using Rational Approximation [1] C. Tricaud and Y.Q. Chen: Solving Fractional Order Optimal Control Problems in RIOTS_95 - A General-Purpose Optimal Control Problem Solver, Proceedings of the...
Allows fields in most forms to be prepopulated from the URL. It uses the $_GET variable in a URL to modify the #default_value of form fields.
For example, the following URL, http://www.example.com/node/add/blog?edit[title]=this is...
This is a bare-bones component that should provide a good starting block to building your own custom BuddyPress component.
It includes some of the functions that will make it easy to get your component registering activity stream items,...
This practical function provides a tool for quickly including a random process within a Monte Carlo Simulation framework.
The main input argument, is a string containing commands in Matlab syntax. Each execution of such string is an...
PassiveLDAP is an LDAP-ActiveRecord interoperability library designed to allow an ActiveRecord model (usually the Users model) to be replaced with an LDAP-based model. Active Directory examples included!
Examples:
Insert the zeros-row on top of 3x3 matrix M = magic(3) bsxcat(1,0,M)
Concatenate the ones-column on right of 3x3 matrix M = magic(3) bsxcat(2,M,1)
This toolkit has two main purposes.
1. Decomposition and visualization of paraxial beams in Hermite-Gaussian and Laguerre-Gaussian bases. (These functions are located in the subdirectory "transverse.")
2....
Returns the orientation and signed area of a 2D polygon
Syntax: [ORIENT,SAREA] = POLYORIENT(X,Y)
Inputs: X, Y Vectors with the polygon vertices
Outputs: ORIENT Polygon orientation. 1 if the...
After a few weeks of writing posts on WordPress, I was getting very irritated when all the HTML entities I added to my examples kept being converted into characters -- e.g. HTML entities like > < " would convert to > < " --...
This demonstration shows the single steps of nearest neighbour, hungarian method (munkres algorithm) for assignment problem, branch and bound for symetric cost matrices. The tree of the branch and bound algorithm is shown and the user can select...
% MAKELINEHIGHLIGHTABLE sets the ButtonDownFcn of lines or line children % of axes so that when the line is clicked the line width is increased or % decreased. when the line is clicked again the line width returns to the % original... |