문제를 풀었습니다


Hackathon: the beginnings
I am thinking of a number between 1 and 10000... can you guess what this number is? *Description* The test suite has rando...

대략 6년 전

문제를 풀었습니다


Cody Matlab Version
What is the current Cody Matlab Release? *Output:* string *Examples:* '(R2012a)' or 'R2012a' Hint: We have mo...

대략 6년 전

문제를 풀었습니다


Converter temp 0 to 200 degree C to 4 to 20mA
Converter temp 0 to 200 degree C to 4 to 20mA (It is used in transmitter)

대략 6년 전

문제를 풀었습니다


Find out phase angle of second order system.
Find out the phase angle of a second order system. In a control system, the phase angle is given by the inverse of cos.

대략 6년 전

문제를 풀었습니다


Find the mode of the given input
Find the statistical <http://en.wikipedia.org/wiki/Mode_(statistics)/ mode> of the given input. Example: If X is matr...

대략 6년 전

문제를 풀었습니다


Find the rank of a matrix
Determine the rank of a matrix without using the MATLAB function of the same name.

대략 6년 전

문제를 풀었습니다


Generate vector according to sign of vector
Generate vector according to sign of vector Example: If A=[-2 0 5] then output must be[-1 0 1] meaning that for negative n...

대략 6년 전

문제를 풀었습니다


Determine the Anti-diagonal of a Magic Square
Determine the anti-diagonal (crossing from top right to lower left) of a magic square of size n. Examples If n = 3 y =...

대략 6년 전

문제를 풀었습니다


Vertically stack two vectors
Stack two vectors on top of each-other so that... if A = [1 5 3] and B = [8 6 4] then C = [1 5 3 ; 8 6 4]

대략 6년 전

문제를 풀었습니다


Test if a number is numeric or not
Test if a number is numeric or not

대략 6년 전

문제를 풀었습니다


Rank of matrix
Find the rank of given matrix

대략 6년 전

문제를 풀었습니다


Is it prime?
Given a number, check whether it is prime or not. If prime output is true, otherwise false.

대략 6년 전

문제를 풀었습니다


The great 82-year-old
Let's answer the question below; 'I am *x* years old and I have never written programs. If I study from now, will I be able ...

대략 6년 전

문제를 풀었습니다


determine amount cookies left
started with 3 cookies and you never ate any how many are left

대략 6년 전

문제를 풀었습니다


The answer to life the universe and everything
Write a function that gives the answer to life the universe and everything to every input except the input is 42. In this case t...

대략 6년 전

문제를 풀었습니다


Return median of a matrix
Compute median of a matrix of any dimension. Exclude the NaNs if any.

대략 6년 전

문제를 풀었습니다


Basics: counting digits of a number irrespective of the sign
publish the number of digits in any input integer example: -23---->2

대략 6년 전

문제를 풀었습니다


Check if a number belongs in the fibonacci squence
Test if integer i is a number in the fibonacci sequence. Return true if it is.

대략 6년 전

문제를 풀었습니다


Penny flipping - calculate winning probability (easy)
Two players are playing a fair penny flipping game. For each flip, the winner adds one penny from the loser's collection to his/...

대략 6년 전

문제를 풀었습니다


Array GCD
* Find Greatest Common Divisor in a given array * Function Template: function ans = arraygcd(a) % a=[45 15 200 ...

대략 6년 전

문제를 풀었습니다


Vector LCM
* Find Least Common Multiple of a given vector. * Need general solution as the test suite will be expanded. * Function Templa...

대략 6년 전

문제를 풀었습니다


Create a vector with n repeated values of a number x
If x=3 and n=7 then the vector y would be y=[3 3 3 3 3 3 3]

대략 6년 전

문제를 풀었습니다


Box
Give the volume of a box, x is equal to the body diagonal.

대략 6년 전

문제를 풀었습니다


Newton's Motion Law
F is force, m is mass, and a is acceleration. Calculate the force for an object.

대략 6년 전

문제를 풀었습니다


Matrix for beginners
Multiply x and y elemwise.

대략 6년 전

문제를 풀었습니다


Determine if a four bar mechanism is of Grashof type
A four bar mechanism is composed of four links. if s is the smallest link, l the longest and p,q are the length of the other lin...

대략 6년 전

문제를 풀었습니다


center of mass
R is a given matrix with size [n,2]. R(i,:) is interpreted as the 2D-position of a mass point with mass i. Calculate the center ...

대략 6년 전

문제를 풀었습니다


Calculate compression ratio of engine
Calculate compression ratio of engine given compression volume of cylinder(Vc), piston stroke(s) and valve diameter(d)

대략 6년 전

문제를 풀었습니다


Center of mass
Given a matrix M(m,n), where m is the number of vertices of the geometrical element and n is 2 or 3 (2D-plane figure or 3D-solid...

대략 6년 전

문제를 풀었습니다


Find the jerk
No, it's not the author of this problem... Jerk is the rate of change in acceleration over time of an object. So, if given t...

대략 6년 전

더 보기