문제를 풀었습니다


Matrix Pattern 4

대략 3년 전

문제를 풀었습니다


Summy's even sum

대략 3년 전

문제를 풀었습니다


Find product of eigenvalues of n*n magic matrix.
Find product of eigenvalues of n*n magic matrix. Example n=3 Matrix= [ 8 1 6; 3 5 7; 4 ...

대략 3년 전

문제를 풀었습니다


Calculate correlation.
There are two data. y1=[0 1 2 3 4]' y2=[2 3 4 5 6]' We can see positive relationship between y1 and y2. The relations...

대략 3년 전

문제를 풀었습니다


Funny problems
Generate the following vector: if n=1 then q=1; elseif n=2 then q=[2 2 1]; elseif n=3 then q=[3 3 3 2 2 1]; ... end

대략 3년 전

문제를 풀었습니다


Polynomial evaluation
Compute the value of a polynomial of degree n with coeffcients in vector a, at value x. p(x)=a(1)+a(2)x+a(3)x^2+...+a(n+1)x...

대략 3년 전

문제를 풀었습니다


How long does it take to run a bath?
Given the *volume flow rate* (volume/time) of a faucet and the *volume* of a bath tub, find the amount of time it takes to fill ...

대략 3년 전

문제를 풀었습니다


Dudeney Numbers: Numbers which are the cube of their decimal sum
From Wikipedia: _A Dudeney number is a positive integer that is a perfect cube such that the sum of its decimal digits is equa...

대략 3년 전

문제를 풀었습니다


Halder function
Find the halder function value of a number

대략 3년 전

문제를 풀었습니다


Local Minima
Given a vector of data x, find the values of local minimum that is smaller than its neighbor elements. For example, if x =...

대략 3년 전

문제를 풀었습니다


R2012b atan in Degrees
Return in degrees the atan result of inputs for all four quadrants. *Examples:* [x, y] Degrees 1 0 0 1 1 ...

대략 3년 전

문제를 풀었습니다


Given a number N, find the smallest prime P>N
Given a number N, find the smallest prime P greater than N. For example: If N=10 then P=11. If N=13 then P=17.

대략 3년 전

문제를 풀었습니다


Get the array of sum for three consecutive numbers in an array
Get the array of sum, for three consecutive numbers in an array. if Input 'x' does not have at-least 3 elements then 'y' shou...

대략 3년 전

문제를 풀었습니다


Find the number that has most primes those less than it
Given an vector x of integer numbers, find the element of x that has the most primes less than it.

대략 3년 전

문제를 풀었습니다


Throw common elements of two vector arrays
Throw common elements as output of two given input vector arrays

대략 3년 전

문제를 풀었습니다


Adding Cells with numbers defined as strings
Given a cell, with strings representing numbers, add each value. For example: a = {'9','33'}; the output should be: ...

대략 3년 전

문제를 풀었습니다


Whole Number Un-Concatenator
Write a function that accepts an integer and an index digit and returns a vector containing two integers which are the leading a...

대략 3년 전

문제를 풀었습니다


Counting candies
In a classroom of |'n'| children, every even numbered child gets one big candy and every odd numbered child gets two small candi...

대략 3년 전

문제를 풀었습니다


Find parts of a circle.
Given radius (r) of a circle find the diameter (d), circumference (c), an area (a).

대략 3년 전

문제를 풀었습니다


Determina si el número es primo
Primero, antes que nada: ¿Qué es un número primo? Un número primo es cualquier número que solamente se puede dividir por 1 y ...

대략 3년 전

문제를 풀었습니다


How do you make seven even?
Take away the s.

대략 3년 전

문제를 풀었습니다


Find elements of set A those are not in set B
Given two sets of data A and B. Find elements of A those are not in set B. ...

대략 3년 전

문제를 풀었습니다


Permutations of input vector
Find and output all permutations of given vector

대략 3년 전

문제를 풀었습니다


To convolve two vectors
To convolve two vectors

대략 3년 전

문제를 풀었습니다


Sum of digits of powers of 2
Given n, first, calculate the number 2^n. Then, sum the digits that comprise that number. For example: Input: n = 7 2^n = ...

대략 3년 전

문제를 풀었습니다


How to get the additive inverse of a uint8.
Given x as a uint8 find the additive inverse y.

대략 3년 전

문제를 풀었습니다


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.

대략 3년 전

문제를 풀었습니다


Surface area of a sphere
Given the radius of a sphere, find it's Surface area

대략 3년 전

문제를 풀었습니다


Find scalar product of two polynomials a and b, given as vector array.
Find scalar product of two polynomials given as vector array. Example a=[1 -1 2]; b=[2 4 1]; result=0

대략 3년 전

문제를 풀었습니다


Determine given vector is even or odd
Find the numbers of the input vector is odd or even then replace even with 1 and odd with 0 Example x = [ 3 3 4 6 1] ...

대략 3년 전

더 보기