문제를 풀었습니다


Divisible by 8
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

대략 2개월 전

문제를 풀었습니다


Divisible by 9
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

대략 2개월 전

문제를 풀었습니다


Integer Persistence, Product
Let's construct a sequence as follows: is a given natural number, and is the product of the digits of . The persistence of i...

대략 2개월 전

문제를 풀었습니다


P(girl likes you | she smiled at you)
Compute the probability Given the input probabilities

대략 2개월 전

문제를 풀었습니다


Legendary NBA Playmaker
Write a function that returns a char array containing the name and surname of a famous NBA player known for his spectacular pass...

대략 2개월 전

문제를 풀었습니다


Draw a Diamond shape in ones Matrix with '0' s
Input will be odd numbers.The task is to make a Diamond shape in a ones matrix with '0's where the matrix will be a square matri...

대략 2개월 전

문제를 풀었습니다


Convert a vector of Integers into a matrix of binaries
Convert a vector of positive integers into a matrix containing their binary representation. Each column of the output contains t...

대략 2개월 전

문제를 풀었습니다


Wrap-around effect
In vector x of length n we define (n+1) position as going back to the first position (so called wrap-around effect). Can you ret...

대략 2개월 전

문제를 풀었습니다


Hofstadter Female and Male sequences
The Hofstadter Female (F) and Male (M) sequences are defined as follows Write a function to compute for a given n. See http...

대략 2개월 전

문제를 풀었습니다


Splitting Square - Problem the first

대략 2개월 전

문제를 풀었습니다


Is the number of 1s in a binary integer odd or even?
Your function should turn the input integers into binary form and count the number of 1s in the binary. If the number is odd, re...

대략 2개월 전

문제를 풀었습니다


Stern-Brocot Sequence
The Stern-Brocot diatomic sequence is defined as follows: The first elements of the sequence are 0, 1, 1, 2, 1, 3, 2, 3, 1, 4...

대략 2개월 전

문제를 풀었습니다


execute the declaration in strings and return value
execute the commands in strings and return value input='a=23' output=23

대략 2개월 전

문제를 풀었습니다


GJam 2017 Kickstart: Parentheses (Large)
This Challenge is derived from <http://code.google.com/codejam/contest/6304486/dashboard#s=p2 GJam 2017 Kickstart Parentheses>. ...

대략 2개월 전

문제를 풀었습니다


Find if a given sentence is a palindrome
Given a string/character array, return true if the string is a palindrome else returns false. For example: sample_text =...

대략 2개월 전

문제를 풀었습니다


Mean number of letters per word (Easy)
Given a character array, s, representing a sentence, return a, the arithmetic mean of the number of letters per word in the give...

대략 2개월 전

문제를 풀었습니다


Determinate if day D is a date that occurs during Daylight Saving Time in Italy
<https://en.wikipedia.org/wiki/Summer_Time_in_Europe>

대략 2개월 전

문제를 풀었습니다


Unique: Faster for options 'rows' and 'stable' for large array of uint8
Challenge: Execute unique(a,'rows','stable') Faster for 'a' being uint8. The "unique" function for the 'rows' and 'stable' o...

대략 2개월 전

문제를 풀었습니다


Create a "+" flag
Given two odd 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...

대략 2개월 전

문제를 풀었습니다


Scaling vertically functions
Given a real function by the 1×n array, x, of inputs and the 1×n array, y, of outputs, consider shifting vertically its graph by...

대략 2개월 전

문제를 풀었습니다


Find a real root of a quintic function

대략 2개월 전

문제를 풀었습니다


How many bytes an image requires from RAM?

대략 2개월 전

문제를 풀었습니다


root?
* Given a function 'foo', and a position 'there', find the root near 'there'. * For example: If foo=@sin, and there=3.1, then r...

대략 2개월 전

문제를 풀었습니다


Find out missing number from a vector of 9 elements
You are given a vector of size 9, x = [x1 x2 x3 x4 x5 x6 x7 x8 x9] Elements of x may be randomly selected without repeati...

대략 2개월 전

문제를 풀었습니다


Convert decimal to binary and then generate the minimum binary it can with jumbling
input is 10 --> 1010 output should be 3 --> 0011 input 23 --> 10111 output should be 15 --> 01111

대략 2개월 전

문제를 풀었습니다


Difference of product and sum
Given a positive integer n, compute the difference between the product of its digits and the sum of its digits.

대략 2개월 전

문제를 풀었습니다


Please check the last row
We have data of matrix, that is input. That contains 2 or more rows and the last row should contain the average of each column,...

2개월 전

문제를 풀었습니다


Concatenated roots
Which is the value of this infinte concatenated roots? <<https://s27.postimg.org/i4hkin7xf/Code_Cogs_Eqn.gif>> Note: If ...

2개월 전

문제를 풀었습니다


Muphry's Law of MATLAB
You're running some simple multiplication problems through MATLAB for error checking purposes, but nothing seems to come up with...

2개월 전

문제를 풀었습니다


Pattern Sum
Write a function which receives two single digit positive integers, (k and m) as parameters and calculates the total sum as: k...

2개월 전

더 보기