Community Profile

G K

Syracuse University

Active since 2013

Content Feed

View by

Solved

Sort (high on middle, low on ends)
Sort the vector of numbers in order low-high-low. Even numbers appear in ascending order on the left and odd numbers appear in d...

mer än 8 år ago

Solved

Return area of square
Side of square=input=a Area=output=b

mer än 8 år ago

Solved

Create matrix with Gray code
Output "g" should be a matrix of class double, with <http://en.wikipedia.org/wiki/Gray_code Gray reflected binary code>. Inpu...

mer än 8 år ago

Solved

Relative ratio of "1" in binary number
Input(n) is positive integer number Output(r) is (number of "1" in binary input) / (number of bits). Example: * n=0; r=...

mer än 8 år ago

Solved

Vector of numbers divisible by 3
* Input(n) - any integer * Output(v) - vector with numbers divisible by 3(exept 0) starting from n to 0 Examples: * n=6...

mer än 8 år ago

Solved

Can I make a right triangle ?
Input(a) - is vector with any amount of values. Interpreted as legths of sides. Output(b): * Is true if there are any 3 va...

mer än 8 år ago

Solved

Calculate the derivative of a polynomial
Example: in = [ 1 1 1 ] out = [ 2 1 ]

mer än 8 år ago

Solved

factor to number
e.g. input number x=10 then it should produce y=25 or x=100 then y should be 2255. write a function or code to generate the same...

mer än 8 år ago

Solved

Power The Product
EXAMPLE: INPUT x=10 & y=10 OUTPUT z=1000000 or, INPUT x=2 & y=3 OUTPUT z= 216 you just need to calculate the product first...

mer än 8 år ago

Solved

COUNT VOWEL 2
The objective of this problem is to determine the number of unique vowels used in the given string. Now count vowels in STRI...

mer än 8 år ago

Solved

COUNT VOWEL
Count, how many times vowels occurred. EXAMPLE: x='string the MaTLaBiAn' then the answer will be 6. x='coUnt the vowEl' th...

mer än 8 år ago

Solved

Reverse CHECKBOX MATRIX with 69
Create a reverse checkbox matrix with '69'. Where the size is the input and output will be a square checkbox matrix. Exa...

mer än 8 år ago

Solved

Do Fast Fourier Transformation
Example Fast Fourier Transformation from vector [2,1]) ans = 3 1

mer än 8 år ago

Solved

Make a vector of prime numbers
Input(n) - length of vector with prime numbers Output(v) - vector of prime numbers Example: * n=1; v=2 * n=3; v=[2 3 5...

mer än 8 år ago

Solved

Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.

mer än 8 år ago

Solved

The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

mer än 8 år ago

Solved

Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area

mer än 8 år ago

Solved

How many digits are there?
Input(s) - any string Output(n) - number of digits within string s

mer än 8 år ago

Solved

generate a matrix of Legendre polynomials
input = x - the degree of the polynomial output = matrix of Legendre polynomials

mer än 8 år ago

Solved

Number of odd and even elements within matrix
Input(m) - any matrix with integers Output(n) - n(1)=number of odd elements, n(2)=number of even elements Example: * m=...

mer än 8 år ago

Solved

Area of rhombus
Calculate the rhombus area

mer än 8 år ago

Solved

Calculate the integral of the polynomial
for e.g. in = [3 2 1] out = [1 1 1 0]

mer än 8 år ago

Solved

Switch matrix to a column vector
for e.g. x = [1 2 3 4] y = 1 3 2 4

mer än 8 år ago

Solved

calculate linear convolution two vectors
for e.g in: a = [1 2 3] b = [4 5 6] out: y = [4 13 28 27 18]

mer än 8 år ago

Solved

find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

mer än 8 år ago

Solved

Find the minimum element of the matrix
Example: If x = [3 9; 5 2] then y = 2

mer än 8 år ago

Solved

find the roots of a quadratic equation
for e.g x = [ 2 -1 -3] y = [1.5 -1]

mer än 8 år ago

Solved

Temperature conversion
Convert temperature in degrees Celsius (C) to temperature in degrees Kelvin (K). Assume your answer is rounded to the nearest Ke...

mer än 8 år ago

Solved

TOUGHEST PROBLEM EVER?????????????
Need Only Response!!!!!!!!!!!!!!!!!

mer än 8 år ago

Solved

CARDS PROBLEM
Read my mind and tell me the card number that I have now in my hands.

mer än 8 år ago