Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

8 years ago

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


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


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

8 years ago

Solved


Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

8 years ago

Solved


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

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


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

8 years ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

8 years ago

Solved


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

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


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

8 years ago

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

8 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

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


2048 Game Solver
An AI solver to the 2048 Game

12 years ago | 2834 downloads |

5.0 / 5
Thumbnail

Submitted


Fingerprint Minutiae Extraction
This program extracts ridges and bifurcations from a fingerprint image.

15 years ago | 8146 downloads |

4.4 / 5
Thumbnail

Submitted


Visual Cryptography
Generation of two-out-of-two Visual Cryptography Scheme shares.

15 years ago | 7956 downloads |

4.2 / 5
Thumbnail

Submitted


Retinal Blood Vessel Extraction
Extracts blood vessels from a retina image using Kirsch's Templates

15 years ago | 13683 downloads |

4.6 / 5
Thumbnail

Submitted


Image Quality Measures
Image quality measures are calculated for a distorted image with reference to an original image

15 years ago | 12789 downloads |

4.4 / 5
Thumbnail

Submitted


Mixing / Combining 2 Images (Image Fusion)
This program fuses/combines/mixes 2 images It supports both Gray & Color Images

15 years ago | 7258 downloads |

3.3 / 5
Thumbnail

Submitted


Texture Feature Extraction - GLDM
GLDM calculates the Gray level Difference Method Probability Density Functions for the given image.

15 years ago | 11560 downloads |

4.5 / 5
Thumbnail

Submitted


color Image Segmentation
Segments a color image into regions.

15 years ago | 19589 downloads |

4.2 / 5
Thumbnail

Submitted


Image Halftoning by Floyd's Method
This program converts a gray image into halftone image.

15 years ago | 3867 downloads |

5.0 / 5
Thumbnail

Submitted


Image Halftoning by Jarvis Method
This program converts a gray image into halftone image.

15 years ago | 3776 downloads |

4.3 / 5
Thumbnail

Submitted


Color Quantization
This program reduces the number of colors present in a true color image (or indexed color image).

15 years ago | 1992 downloads |

5.0 / 5
Thumbnail

Submitted


Color Image Enhancement
An input color image is enhanced using block-wise DCT Scaling method.

15 years ago | 5285 downloads |

4.5 / 5
Thumbnail

Submitted


SVD-based Image Quality Measure
A Graphical & Numerical image quality measure based on Singular Value Decomposition

17 years ago | 4123 downloads |

5.0 / 5
Thumbnail