Problem

Fault in our Stars - 02

Create a window pattern with h-horizontal bars and v-vertical bars. For example, for h=4,v=4 '**********' '* ...

7 jours ago | 0

Solved

all possible subsets of set

Given a vector, return all possible subsets of the vector in a cell array. Properties of basic set theory is assumed to be valid...

7 jours ago

Solved

Sieve of Eratosthenes

Find the nth lucky prime number. <https://planetmath.org/luckyprime> can u find a way for large n?

7 jours ago

Solved

Don't be Greedy!

A list of assignments is given to the students along with the submission deadlines. Each of the assignment contains particular...

7 jours ago

Problem

Don't be Greedy!

A list of assignments is given to the students along with the submission deadlines. Each of the assignment contains particular...

7 jours ago | 1

Solved

Poker Series 02: isQuads

The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is to...

8 jours ago

Solved

Poker Series 01: isStraightFlush

The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...

8 jours ago

Solved

Poker Series 09: IsHighCard

The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...

8 jours ago

Solved

Poker Series 08: IsPair

The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...

8 jours ago

Solved

Poker Series 07: IsTwoPair

The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...

8 jours ago

Solved

ZigZag - 04

Given a matrix, print all its elements in the spiral form (clockwise direction). For example, a=[16 2 3 13 ...

8 jours ago

Solved

Ulam spiral 2: The revenge

Starting from the problem <https://www.mathworks.com/matlabcentral/cody/problems/2644-the-ulam-matrix>, transform the Ulam Matri...

8 jours ago

Solved

Look and say Conway's sequence

In mathematics, the look-and-say sequence is the sequence of integers beginning as follows: 1, 11, 21, 1211, 111221, 312211, ...

8 jours ago

Solved

Poker Series 06: isThreeKind

The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...

8 jours ago

Solved

Poker Series 05: isStraight

The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...

9 jours ago

Solved

Poker Series 04: isFlush

The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...

9 jours ago

Solved

ZigZag - 05

Given a matrix, print all its elements in the alpha form. For example - a=[16 2 3 13 5 11 10 8 ...

9 jours ago

Solved

MinMax mapping

Given a matrix, map all the elements within a given interval. For example, a=[ 2 5 10] mapped in the interval [1,2] ...

9 jours ago

Problem

MinMax mapping

Given a matrix, map all the elements within a given interval. For example, a=[ 2 5 10] mapped in the interval [1,2] ...

9 jours ago | 0

Solved

Moving Product (Easy)

Given an input array A, write a function *movprod(A,k,dim)* to calculate the moving product over a sliding window of length *k* ...

9 jours ago

Solved

Yoonir - 03

Find the area of a seven-pointed star inscribed in a circle of radius r.

9 jours ago

Problem

Yoonir - 03

Find the area of a seven-pointed star inscribed in a circle of radius r.

9 jours ago | 0

Solved

Yoonir - 02

Find the area of a six-pointed star inscribed in a circle of radius r.

9 jours ago

Problem

Yoonir - 02

Find the area of a six-pointed star inscribed in a circle of radius r.

9 jours ago | 0

Solved

Yoonir - 01

Find the area of a five-pointed star inscribed in a circle of radius r.

9 jours ago

Problem

Yoonir - 01

Find the area of a five-pointed star inscribed in a circle of radius r.

9 jours ago | 0

Solved

Create Combination

Motivation: In many problems, we need to create combinations with the function nchoosek. In some cases, however, choices are lim...

9 jours ago

Solved

Card Game

This is an overly simplified and highly modified version of card game Twenty-Nine. A deck of 100 unique cards (hypothetical) ...

9 jours ago

Solved

Poker Series 03: isFullHouse

The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...

9 jours ago