Community Profile

photo

Corey Owen


Last seen: 1 dag ago
35 total contributions since 2020

Corey Owen's Badges

  • Community Group Solver
  • Solver

View details...

Contributions in
View by

Solved


Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...

17 dagen ago

Solved


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

17 dagen ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

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

17 dagen ago

Solved


Convert radians to degrees
Given input in radians, output to degrees

18 dagen ago

Solved


Fibonacci Decomposition
Every positive integer has a unique decomposition into nonconsecutive Fibonacci numbers f1+f2+ ... Given a positive integer n, r...

18 dagen ago

Solved


find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

19 dagen ago

Solved


radius of a spherical planet
You just measured its surface area, that is the input.

19 dagen ago

Solved


Chess ELO rating system
The Elo rating system is a method for calculating the relative chess skill levels of players in competitor-versus-competitor gam...

19 dagen ago

Solved


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

19 dagen ago

Solved


Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

19 dagen ago

Solved


Number of Even Elements in Fibonacci Sequence
Find how many even Fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...

19 dagen ago

Solved


Fibonacci-Sum of Squares
Given the Fibonacci sequence defined by the following recursive relation, * F(n) = F(n-1) + F(n-2) * where F(1) = 1 and F(1)...

19 dagen ago

Solved


Wheat on a chessboard pt 1
If a chessboard were to have wheat placed upon each square such that one grain were placed on the first square and each successi...

19 dagen ago

Solved


The Tower of Hanoi
In the <http://en.wikipedia.org/wiki/Tower_of_Hanoi Tower of Hanoi problem> with 3 rods (1, 2 & 3), the goal is to move a tower ...

19 dagen ago

Solved


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

22 dagen ago

Solved


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

23 dagen ago

Solved


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

23 dagen ago

Solved


Create a vector
Create a vector from 0 to n by intervals of 2.

23 dagen ago

Solved


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

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

25 dagen ago

Solved


Minefield Sonar
*Background* In mine-hunting games (e.g. Microsoft Minesweeper), the user is provided with a covered grid that, upon a left c...

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

ongeveer een maand 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...

ongeveer een maand 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...

ongeveer een maand ago

Solved


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

ongeveer een maand ago

Solved


Find max
Find the maximum value of a given vector or matrix.

ongeveer een maand ago

Solved


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

ongeveer een maand ago

Solved


Inner product of two vectors
Find the inner product of two vectors.

ongeveer een maand ago

Solved


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

ongeveer een maand ago

Load more