Community Profile # guanxin

Last seen: 2달 전 2021년부터 활동

#### Statistics

• • • 배지 보기

#### Content Feed

보기 기준

문제를 풀었습니다

Sum of series VII
What is the sum of the following sequence: Σ(km^k)/(k+m)! for k=1...n for different n and m?

4달 전

문제를 풀었습니다

Sum of series III
What is the sum of the following sequence: Σ(2k-1)^3 for k=1...n for different n?

4달 전

문제를 풀었습니다

Predict Cricket Stridulation Rate from Air Temperature
Stridulation is the process that creates a cricket's “chirp” by rubbing their wings or legs. According to the Old Farmer's Alma...

4달 전

문제를 풀었습니다

Find Air Temperature from Cricket Stridulation Rate
Stridulation is the process that creates a cricket's “chirp” by rubbing their wings or legs. According to the Old Farmer's Alma...

4달 전

문제를 풀었습니다

Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

4달 전

문제를 풀었습니다

Minimum possible M of the maximum side of a triangle of given area A.
Suppose a triangle has area A. Suppose it has three sides S1, S2, and S3. Suppose M = max([S1 S2 S3]). What is the minimum po...

4달 전

문제를 풀었습니다

Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

4달 전

문제를 풀었습니다

Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

4달 전

문제를 풀었습니다

Create a vector
Create a vector from 0 to n by intervals of 2.

4달 전

문제를 풀었습니다

Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

4달 전

문제를 풀었습니다

Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

4달 전

문제를 풀었습니다

Find max
Find the maximum value of a given vector or matrix.

4달 전

문제를 풀었습니다

Get the length of a given vector
Given a vector x, the output y should equal the length of x.

4달 전

문제를 풀었습니다

Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

4달 전

문제를 풀었습니다

Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

4달 전

문제를 풀었습니다

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

4달 전

문제를 풀었습니다

Remove the air bubbles
Given a matrix a, return a matrix b in which all the zeros have "bubbled" to the top. That is, any zeros in a given column shoul...

1년 이상 전

문제를 풀었습니다

Draw 'B'
Draw a x-by-x matrix 'B' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 0 1 0 0 0 1 ...

1년 이상 전

문제를 풀었습니다

Draw a 'X'!
Given n as input Draw a 'X' in a n-by-n matrix. example: n=3 y=[1 0 1 0 1 0 1 0 1] n=4 y=[1 0 0...

1년 이상 전

문제를 풀었습니다

given a matrix a, find the adjoint matrix of a.

1년 이상 전

문제를 풀었습니다

Check prime numbers
Let x, return 1 if x is a prime number, 0 otherwise e.g x = 7, return y =1; x = 6 return y = 0;

1년 이상 전

문제를 풀었습니다

step function

1년 이상 전

문제를 풀었습니다

Triple function composition
Given three functions f,g and h, create the composed function y=f(g(h)). Example f = @(x) x+1 g = @(x) x/2 h = @(x) ...

1년 이상 전

문제를 풀었습니다

generate the matrix
given a value n (say 4) - generate the matrix like below y= [0 1 2 3 4; -1 0 1 2 ...

1년 이상 전

문제를 풀었습니다

Repeat elements of a vector
Repeat each elements of a given vector according to their values. * x=[1,2,1,3] * y=[1,2,2,1,3,3,3]

1년 이상 전

문제를 풀었습니다

Draw a 'Z'.
Given _n_ as input, generate a n-by-n matrix like 'Z' by _0_ and _1_ . Example: n=5 ans= [1 1 1 1 1 0 0 0 1 ...

1년 이상 전

문제를 풀었습니다

Draw 'H'
Draw a x-by-x matrix 'H' using 1 and 0. (x is odd and bigger than 2) Example: x=5 ans= [1 0 0 0 1 1 0 0 0 1 ...

1년 이상 전

문제를 풀었습니다

Add Me To Death (Sum sum sum)
Given certain vector, sum of the input vector, get the sum of 2 adjacent numbers in the input, and sum of the output vector (wh...

1년 이상 전

문제를 풀었습니다

Find Logic 9

1년 이상 전

문제를 풀었습니다

Ring Matrix
Given n (only odd), return output matrix a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. ...

1년 이상 전