Community Profile # Mehmet OZC

Last seen: Today Active since 2012

Interested in Math.

#### Statistics

All
• • • • • • • • • • • • #### 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

16 días 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 ...

23 días 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...

23 días ago

Solved

square of a number
find square of a given number

23 días ago

Solved

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

alrededor de 1 mes 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 ...

alrededor de 2 meses ago

Solved

Generate a list of composite numbers

alrededor de 2 meses 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,...

alrededor de 2 meses 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...

alrededor de 2 meses 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] ) == [...

alrededor de 2 meses 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...

alrededor de 2 meses 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...

alrededor de 2 meses 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 ...

alrededor de 2 meses 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 meses ago

Problem

tetration

3 meses 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 meses ago

Solved

Do you have the minimum age?

4 meses ago

Solved

Normalizing a vector

4 meses 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 meses 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 meses 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 meses ago

Solved

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

4 meses ago

Solved

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

4 meses 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 meses 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 meses 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 meses 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 meses 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 meses 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 meses ago