문제를 풀었습니다


Cross ("+") flag returns
Given two numbers, [m, n], return a matrix of size m x n which has all elements of the centre column and centre row set as 1, an...

대략 1개월 전

문제를 풀었습니다


Successive zeros
Suppose n is the number of digits a number contains. Now, 12032 - is a valid n=5 digit number. But 10023 - is defined as i...

대략 1개월 전

문제를 풀었습니다


Sort Reversal
There are n index cards in a row, with n distinct integers written on them (one number per card) so that the numbers are sorted ...

대략 1개월 전

문제를 풀었습니다


Find two numbers that add up to the target value
Given a vector A and target n, return the indices of two numbers that add up to n. If there are multiple solutions, return the f...

대략 1개월 전

문제를 풀었습니다


REPMAT Enhancement - Faster for Large Row Replication of Vector
The Challenge is to modify repmat.m to maintain all of its normal functionality and enhance its performance for large row replic...

대략 1개월 전

문제를 풀었습니다


AVIRIS Hyperspectral Bit Mask
The AVIRIS data sometimes is provided uncropped. This creates edge regions with values of "-50". Shown is AVIRIS Moffett Field i...

대략 1개월 전

문제를 풀었습니다


Get input and output variable names
Given a string representing a function header, return the variable names used for the inputs and outputs. For example if input ...

대략 1개월 전

문제를 풀었습니다


GJam 2013 Veterans: Ocean View (Small)
This Challenge is derived from <http://code.google.com/codejam/contest/2334486/dashboard#s=p2 GJam 2013 Veterans Ocean View>. Th...

대략 1개월 전

문제를 풀었습니다


Implement Solitaire cipher for N long deck.
Implement the <http://en.wikipedia.org/wiki/Solitaire_(cipher) solitaire cypher>. Given a starting permutation of numbers [1:...

대략 1개월 전

문제를 풀었습니다


Gaussian elimination
Get the Gussian elimination of the Matrix Given You cannot use built-in Matlab functions triu :)

대략 1개월 전

문제를 풀었습니다


Area-07
This is a follow up of the problem <https://www.mathworks.com/matlabcentral/cody/problems/45341-area-06> in this case, fi...

대략 1개월 전

문제를 풀었습니다


Don't be Greedy!
A list of assignments is given to the students along with the submission deadlines. Each of the assignment contains particular...

대략 1개월 전

문제를 풀었습니다


Find the Prime Factors and Divisors of a Number
Given a positive integer n, find its prime factors as well as all of its divisors. Example: n=12 has prime factors [2,2,3] and ...

대략 1개월 전

문제를 풀었습니다


Play Oware with the digits of a number
Oware is a pit and pebble game that consists of two sets of pits or houses filled with pebbles or seeds. During a turn, a player...

대략 1개월 전

문제를 풀었습니다


Sum all elements of a vector or matrix without using some built in functions
Write a function that computes the sum of all elements of the input array v without using the following built-in function: sum,...

대략 1개월 전

문제를 풀었습니다


find powers of two
find the unique, non-repeating, powers of 2 that sum to a given non-zero integer, n example: n = 23 result = [1 2 4 16] ...

대략 1개월 전

문제를 풀었습니다


Grimm's Conjecture
Grimm's conjecture states that to each element of a set of consecutive composite numbers, one can assign a unique prime number t...

대략 1개월 전

문제를 풀었습니다


Multiply real numbers to get the smallest integers
Write a function that takes a vector of real numbers and multiplies them by a factor to produce the integers with the smallest a...

대략 1개월 전

문제를 풀었습니다


Total Area Covered by Overlapping Polygons
Given a variable length set of polygon vertex coordinates, compute the total area covered. For example, take two polygons with t...

대략 1개월 전

문제를 풀었습니다


Identify winnable games of Take a Square
A game has a pile of tokens, and two players alternate in taking a certain number of tokens from the pile, with the constraint t...

대략 1개월 전

문제를 풀었습니다


q-dimensional Cartesian product
Your mission, should you choose to accept it, is to compute a q-dimensional Cartesian product, as follows. Let the input G be an...

대략 1개월 전

문제를 풀었습니다


Compute the tersum
The tersum, which appears in certain mathematical games, involves adding two numbers in base 3 without carry and converting back...

대략 1개월 전

문제를 풀었습니다


Return the sum of all even numbers in a vector
Write a function that takes a vector of integers and returns the sum of all even numbers.

대략 1개월 전

문제를 풀었습니다


The Secret Code of Mars
NASA has intercepted a mysterious signal from Mars filled with random letters and numbers. Scientists believe each number in the...

대략 1개월 전

문제를 풀었습니다


Decipher Message Using Prime of Primitive Root of Two Sequence Key
Provided a message with all characters <= 255 (ascii) as an input, decode the padded message (removing the random character pad)...

대략 1개월 전

문제를 풀었습니다


Generate a point cloud on an equilateral triangle 8
The input is the iteration parameter H. The output is a point cloud W involving N points. W is N uniformly distributed points ...

대략 1개월 전

문제를 풀었습니다


Generate a point cloud on an equilateral triangle 7
The input is the iteration parameter H. The output is a point cloud W involving N points. W is N uniformly distributed points ...

대략 1개월 전

문제를 풀었습니다


Generate a point cloud on an equilateral triangle 6
The input is the iteration parameter H. The output is a point cloud W involving N points. W is N uniformly distributed points ...

대략 1개월 전

문제를 풀었습니다


Generate a point cloud on an equilateral triangle 5
The input is the iteration parameter H. The output is a point cloud W involving N points. W is N uniformly distributed points ...

대략 1개월 전

문제를 풀었습니다


Generate a point cloud on an equilateral triangle 4
The input is the iteration parameter H. The output is a point cloud W involving N points. W is N uniformly distributed points ...

대략 1개월 전

더 보기