Answered

Not responding on startup, macOS Mojave

For me the key was adding MATLAB to System Prefs / Security & Privacy / Accessibility. I'm running DFX, Dropbox, Google Drive St...

Not responding on startup, macOS Mojave

For me the key was adding MATLAB to System Prefs / Security & Privacy / Accessibility. I'm running DFX, Dropbox, Google Drive St...

9 months ago | 0

Submitted

Fundamentals of Numerical Computation

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

3 years ago | 13 downloads |

Submitted

Schwarz-Christoffel Toolbox

Computes conformal maps to polygons, allowing easy solution of Laplace's equation.

7 years ago | 24 downloads |

Submitted

IEEE 754 binary representation

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

7 years ago | 10 downloads |

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

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

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

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

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

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

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

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

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

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

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

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

8 years ago

Submitted

Finite difference weights

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

12 years ago | 2 downloads |

Submitted

Sparse Toeplitz matrix construction

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

12 years ago | 4 downloads |

Submitted

Automatic validation of software

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

13 years ago | 1 download |

Submitted

HTML calendar generator

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

13 years ago | 1 download |

Submitted

Piecewise defined function builder

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

13 years ago | 1 download |

Submitted

Singular Fourier-Pade approximation

Circumvention of the Gibbs phenonmenon though Pade approximations with singularities

14 years ago | 1 download |

Submitted

outselect.m

Select or reorder any function's output arguments.

16 years ago | 1 download |

Submitted

inputgui

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

18 years ago | 1 download |

Submitted

combplot

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

18 years ago | 1 download |