Community Profile # Binbin Qi

### China University of Petroleum

Last seen: Today 2009 이후 활성

Professional Interests: Machine Learning/ Math/ Geophysics

#### Statistics

All
• • • • • • • • • • • • 배지보기

#### Content Feed

보기 기준

해결됨

Sort Except Zeros
Sort the numbers in a vector. But the position of zeros should not be changed. Example: sort_except_zeros( [5 3 0 0 2 4] ) == [...

약 1달 전

해결됨

UICBioE240 problem 1.11
Store a series of numbers into a 4 by 4 matrix, starting with the first few positions going right and down, and leaving the rest...

약 2달 전

해결됨

MATLAB Basics: Complex Conjugates
For a given complex number, x, return the complex conjugate, y.

3달 전

해결됨

MATLAB Basics: Complex Argument
For a given complex number, x, return the argument, y, in degrees.

3달 전

해결됨

MATLAB Basics: Complex Numbers
For a given complex number, x, return the real and imaginary parts as a vector, y = [Real Imaginary].

3달 전

해결됨

Matrix convolution
A certain convolution step involves an elementwise multipication between two 3x3 matrices and taking the resulting sum of the el...

3달 전

해결됨

Matrix Indexing
Given a matrix A and scalars r,c,i, find the product of two elements, with the first element located at row r and column c (doub...

3달 전

해결됨

Stacking vectors into a matrix
Given a 4x1 vector a, and a 2x2 matrix b, create a matrix M in which the first 2 rows are each identical to a and the last two r...

4달 전

해결됨

Vector creation using colon operator
Create a vector y containing n uniformly spaced values between a and b, with a < b. Use the colon (:) operator.

4달 전

해결됨

Vector creation using linspace
Create a vector y containing n uniformly spaced values between a and b, with a < b. Use linspace.

4달 전

해결됨

Logarithmically spaced vector creation using logspace
Create a vector y containing n logarithmically spaced values between a and b, with a < b. Use the logspace operator.

4달 전

해결됨

Logarithmically spaced vector creation using linspace
Create a vector y containing n logarithmically spaced values between a and b, with a < b. Avoid using logspace and use the linsp...

4달 전

해결됨

Right shift an array n times with constant space.
Right shift an array n times with constant space, that is, no extra array can be used. Right shift operation: Last element com...

4달 전

해결됨

Function - Cylinder Surface Area
The goal

4달 전

해결됨

Find the number of days in a given year
Given a year number (eg. 2000) as input, find how many days are there in the given year.

4달 전

해결됨

Find the sum of the following series
A(n)=(n*(n-1)!)/(n-2)!

4달 전

해결됨

Count unique orderings of vertices of a polygon
Cody Problem 2671 asks us to determine whether four points can be the corners of a rectangle. The points are not necessarily inp...

4달 전

해결됨

Create the flag of Ramumbia
The little known nation of Ramumbia has a very simple flag. It is made up of vertical stripes, Red, Green, Blue, that are equall...

4달 전

해결됨

Sales Tax

4달 전

해결됨

Sum the Infinite Series II
For any x in the range 0 < x and x < 2*pi radians, find the sum of the following infinite series: c = 1 + 1/2*cos(x) + 1/2*3...

4달 전

해결됨

Count alternating permutations
In an alternating permutation of numbers 1 to n, the numbers are arranged so that they alternately increase and decrease. For ex...

4달 전

해결됨

Solve an ODE: equation A

4달 전

해결됨

Flip coins

4달 전