[O,O_MAT] = OUTER(FUN,VEC1,VEC2) Generalized outer product, like calculating VEC1 * VEC2' but instead of using multiplication to combine the elements of VEC1 and VEC2, the function provided by function pointer fun is called for each pair of elements and the results are stored in the N-by-M cell matrix O. N is the length of VEC1 and M is the length of VEC2. The function works primarily on cell arrays VEC1 and VEC2, but inputs in the...
Picross is a fun game where you fill in tiles based on outer numbers for each of the vertical and horizontal lines of the grid. The end result is a picture consisting of filled tiles.
The code has built-in designs and a special draw...
Uses a recursively called simple generator (with the same arguments as the outer call!) to traverse a tree in breadth first order.
When I did image processing, I need to print out the coordinates (corresponding to the inner and outer loop counters) associated with the image points
How to define a matrix L which can sequentially store the counters for each loop is a...
Simple program to generate the inner and outer parallel curves in rectangular coordinates. inner parallel is toward the center of curvature and outer parallel is away from the center of curvature. Use option flag1=0 to keep the parallels on the...
A ball bearing is comprised of an inner and an outer ring. A fault in each one of them can cause the resonance frequencies of the bearing to awake. This program has a simple GUI with which you can investigate bearing faults in the inner or...
Mastering getrows is a tutorial which specifically concentrates on array manipulation which returns data from the rows of two dimensional array. In this article author describes about controlling aspects of both outer loop and the inner loop...
Starwars is a java applet that can give the visitor an outer space sensation in your web pages. Numerous stars run in the background creating an outerspace look. The text to be displayed appears from the bottom of the applet and travels far into...
Cursor Trails is a Dynamic HTML script that adds a number of duplicate cursor images to the document that follow the mouse position. When you move your mouse around you will see the cursor trails.
This script requires the Dynamic HTML...
Included is a readme word document that fully describes how to run the graphical user interface, describes the outputs etc..
In essence this GUI can be used for calculating resonance parameters for the quasi-TEM modes of cylindrical...
The adiabatic catalyst problem arises in the field of chemical engineering. If chemical reaction kinetics within a solid catalyst body are influenced by mass transfer multiple steady states are possible for a certain range of the...
The script gf_mmc_driver.m runs multiple independent instances of a MMC method in parallel with MATLAB's Distributed Computing Toolbox. The outer loop in script gf_mmc_driver.m represents the basic MMC iteration, which initializes and runs a...
LINEINMASK determines portions of the line in and out of a mask
[inX inY] = LINEINMASK(XS,YS,BW,XV,YV) computes a the segments of the line specified by verticies XV and YV that are inside the mask BW. Points XS and YS...
here current error is converter to hexagonal band. inner & outer band corresponds to medium & large vector. here voltage vectors are 30 degree shifted to what is have in case of normal space vector
When processing echografic images (real or synthetic), in order to compare the performances after applying noise-reduction filter it is required to convert the usual image cartesian representation to a polar representation showing the visual...
Autocorrelation of a vector of symbolic variables SYM_AUTOCORR Autocorrelation of a symbolic vector [V, VCORR] = SYM_AUTOCORR(SEQLEN), where SEQLEN>=1 is the length of the sequence whose autocorrelation is to be calculated. V is...
ADDBORDER draws a border around an image.
NEWIMG = ADDBORDER(IMG, T, C, S) adds a border to the image IMG with thickness T, in pixels. C specifies the color, and should match the color format of the image (e.g., RGB or indexed). STROKE...
----- ----- ----- ----- ----- ----- description ----- ----- ----- ----- ----- ----- Starting with an empty grid, players take turns, adding a single horizontal or vertical line between two unjoined adjacent intersections. A player...
This demo works for "perfect mazes." A perfect maze is defined as a maze which has one and only one path from any point in the maze to any other point. This means that the maze has no inaccessible sections, no circular paths, and no open...
The objective is in identifying CPUs Castle Chambers (in the exact way it is designed). The floor plan of a castle indicates where the walls are. The outer boundary of the castle is always an unbroken wall. The castle has no doors,... |