Community Profile

# Toby Driscoll

### University of Delaware

29 total contributions since 2003

View details...

Contributions in
View by

Submitted

Fundamentals of Numerical Computation
Codes and other resources for the textbook Fundamentals of Numerical Computation.

Submitted

showall
Show all open or selected figures in a grid.

Submitted

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

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

casi 8 años 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...

casi 8 años 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...

casi 8 años 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...

casi 8 años 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...

casi 8 años 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...

casi 8 años 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...

casi 8 años 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...

casi 8 años 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...

casi 8 años 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 ...

casi 8 años 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...

casi 8 años 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:...

casi 8 años ago

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

latex
Output a matrix in LaTeX format.

Submitted

unplot
Removes the most recently drawn object(s).

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

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.