Community Profile

photo

Mehmet OZC


Last seen: 6 days ago Active since 2012

Statistics

All
  • Cody 5th Anniversary Author
  • Thankful Level 2
  • Knowledgeable Level 1
  • Likeable
  • Magic Numbers II Master
  • Indexing II Master
  • Matrix Patterns II Master
  • Community Group Solver
  • Project Euler I
  • Draw Letters
  • Matrix Patterns III Master
  • Cody Challenge Master

View badges

Content Feed

View by

Solved


Output the sum of all the odd integers
Example: x = [ 1 2 3 4 5 6 7 8 9 ] y = 25

13 days ago

Solved


Draw a x-by-x matrix British flag (Euro 2020)
Draw a x-by-x matrix 'British flag' using '0' and '1'.(x is odd and bigger than 4) x = 5 answer = [0 0 1 0 0 ...

20 days ago

Solved


Godfather or Goodfather
Recently, I watched the movie called the Godfather. In my opinoin, Vito Corleone is not just a godfather, he is also a good fat...

20 days ago

Solved


square of a number
find square of a given number

20 days ago

Solved


Free points!
Products of all elements in x. eg. x = [1 2 3 4 5]; y = 120;

1 month ago

Solved


List the Moran numbers
The quotient of a Moran number and its digit sum is prime. For example, 117 and 481 are Moran numbers because 117/(1+1+7) is 13 ...

1 month ago

Solved


Easy Sequences 10: Sum of Cumsums of Fibonacci Sequence
The function F(n) is defined as the set of Fibonacci numbers from the first up to the n-th. S(n) is the result of applying to F,...

2 months ago

Solved


List modest numbers up to n
After determining the nude numbers, or the numbers that openly display some of their divisors as their digits, one would think t...

2 months ago

Solved


Sort Except Zeros
Sort the numbers in a vector. But the position of zeros should not be changed. Example: sort_except_zeros( [5 3 0 0 2 4] ) == [...

2 months ago

Solved


Determine whether a number is a fibodiv number
The number 14 is a fibodiv number because you can divide it into 1 and 4, use those numbers as the seeds for a Fibonacci sequenc...

2 months ago

Solved


Determine whether a number is unprimeable
The number 204 is unprimeable because no single digit can be changed to make it prime. In contrast, the number 207 is not unprim...

2 months ago

Solved


Find the nth nude number
The number 672 is a nude number because it openly displays three of its divisors: 6, 7, and 2. In other words, a nude number is ...

2 months ago

Solved


choose the even number
find all even number in vector x Example: x = [1 2 3 4 5 6 7 8 9 10] y = [2 4 6 8 10]

2 months ago

Problem


tetration
About tetration.

3 months ago | 1 | 6 solvers

Solved


List Honaker primes
The number 131 is the 32nd prime number. It is a Honaker prime because the sum of its digits (1+3+1) equals the sum of the digit...

3 months ago

Solved


Do you have the minimum age?

4 months ago

Solved


Normalizing a vector

4 months ago

Solved


Find the number of days in a given year
Given a year number (eg. 2000) as input, find how many days are there in the given year.

4 months ago

Solved


The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

4 months ago

Solved


MATLAB Basics: Complex Numbers
For a given complex number, x, return the real and imaginary parts as a vector, y = [Real Imaginary].

4 months ago

Solved


MATLAB Basics: Complex Conjugates
For a given complex number, x, return the complex conjugate, y.

4 months ago

Solved


MATLAB Basics: Complex Argument
For a given complex number, x, return the argument, y, in degrees.

4 months ago

Solved


create a function that give us like the following
x=3 y= [1 -1 -1 0 1 -1 0 0 1]; -------------------------------- x=5 y= [ 1 -1 -...

4 months ago

Problem


Peg Solitaire - Apply Move
About Peg Solitaire . Previous Problem. Consider inital board; If we move the peg located on (4,6) to the left (4) directio...

4 months ago | 0 | 3 solvers

Problem


Peg Solitaire - Get Possible Moves
About Peg Solitaire. Consider following initial board; (1) indicates there is a peg and (0) indicates empty holes. For thi...

4 months ago | 1 | 2 solvers

Solved


Matrix Indexing
Given a matrix A and scalars r,c,i, find the product of two elements, with the first element located at row r and column c (doub...

4 months ago

Solved


Right shift an array n times with constant space.
Right shift an array n times with constant space, that is, no extra array can be used. Right shift operation: Last element com...

4 months ago

Solved


Vector creation using linspace
Create a vector y containing n uniformly spaced values between a and b, with a < b. Use linspace.

4 months ago

Load more