Community Profile

# Toby Driscoll

### University of Delaware

29 total contributions since 2002

Contributions in
View by

Submitted

Schwarz-Christoffel Toolbox
Computes conformal maps to polygons, allowing easy solution of Laplace's equation.

Submitted

showall
Show all open or selected figures in a grid.

Submitted

IEEE 754 binary representation
Converts a double into its underlying 64-bit representation, including sign, exponent, and mantissa.

Solved

Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

4 years ago

Solved

Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...

4 years ago

Solved

Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

4 years ago

Solved

Return the largest number that is adjacent to a zero
This example comes from Steve Eddins' blog: <http://blogs.mathworks.com/steve/2009/05/27/learning-lessons-from-a-one-liner/ Lear...

4 years ago

Solved

Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

4 years ago

Solved

Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

4 years ago

Solved

Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

4 years ago

Solved

Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

4 years ago

Solved

Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

4 years ago

Solved

Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

4 years ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

4 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:...

4 years ago

Responded

Re: Better quality graphics in PUBLISH output
I will add +1 to requesting this capability!

6 years ago | 12960 views

Submitted

Automatic validation of software
Validate software using a test library of functions in a directory.

Submitted

HTML calendar generator
HTMLCAL creates a web page with nicely formatted monthly calendars over a date range of your choosin

Submitted

Piecewise defined function builder
Constructs a callable function that applies different definitions based on supplied conditions.

Submitted

Finite difference weights
Finds finite difference (or interpolation) weights for an arbitrary set of nodes in one dimension.

Submitted

Sparse Toeplitz matrix construction
Produces a sparse Toeplitz matrix given only the first row and column, like built-in Toeplitz.

Submitted

Circumvention of the Gibbs phenonmenon though Pade approximations with singularities

Submitted

outselect.m
Select or reorder any function's output arguments.

Submitted

inputgui
A simple, flexible, and overridable graphical replacement for INPUT.

Submitted

gslope
Compute the slope between two selected points.

Submitted

combplot
Copies axes from existing figures into a single new figure window.

Submitted

unplot
Removes the most recently drawn object(s).