Community Profile

# DS

18 total contributions since 2007

View details...

Contributions in
View by

Submitted

Generate uniform pseudo-random integers from linear range.
RAND_INT(R,N) returns an n-by-n matrix containing pseudo-random integer values from range R.

Submitted

Reverse concatenation: separate a data array along a specified dimension.
INVERSE_CAT splits a given data array into sub-arrays along the specified dimension.

Submitted

Convert decimal integer to arbitrary base.
DECIMAL_CONVERT generates a vector of coefficients representing a base 10 integer in a chosen base.

Submitted

Pad an image subregion, restoring it's original spatial context.
REFRAME(I,R,B) applies PADARRAY to subregion, R, returning an image with the dimensions of image, I.

Submitted

Generate a subdirectory listing from a path string.
PATH_PARTS returns a listing of strings representing subdirectories parsed from a path string.

Submitted

The function PARSE_NUMBERS applies SSCANF to read numbers from delimited string.

Submitted

Generate a vector of Cartesian integer coordinates for a 1, 2, or 3D region.
ENUM_COORDS generates a listing of the coordinates for a specified Cartesian space.

Submitted

Convert an A1-style spreadsheet column label to a number.
ABC2NUM translates an A1-style (absolute) column label reference to a number; NUM2ABC does inverse.

Submitted

Normalize 1 or 2D data to a linear range.
Function that transforms 1 or 2D data to match a specified linear dynamic range.

Solved

Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

9 years ago

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

9 years ago

Submitted

color_line
Plot a vector with colors defined by intensity values and a colormap.

Submitted

vfield_color
Plot a 2-D vector field, where color is defined by a colormap and indicates vector magnitude.

Submitted

Read 2-D matrix saved with Mathematica 'Put' command.

Submitted

Patchwork
GUI wrapper for IMAGEPATCH function to create composite images and HTML image maps.

Submitted

imagepatch
Paste one image over another with an offset, expanding first image as necessary.

Submitted

Xflow
Image analysis for Jet-in-crossflow data.

Submitted

Modified Rosin-Rammler Distribution
Functions for manipulating or fitting data with the modified Rosin-Rammler distribution.