Community Profile

photo

Binbin Qi


China University of Petroleum

Last seen: 3 days ago Active since 2009

Professional Interests: Machine Learning/ Math/ Geophysics

Statistics

All
  • Cody 5th Anniversary Finisher
  • Triathlon Participant
  • Knowledgeable Level 2
  • Thankful Level 1
  • Divisible by x Master
  • Logic
  • Personal Best Downloads Level 1
  • First Review
  • Computational Geometry I Master
  • Matrix Patterns II Master
  • Introduction to MATLAB Master
  • Community Group Solver

View badges

Content Feed

Solved


Plotting Practice
Plot cos(x) vs x as shown in the figure below. Include the appropriate title, x-label, and y-label. Note, it is case sensitive. ...

5 days ago

Solved


arrayfun bomb

5 days ago

Answered
Equivalent of c++'s NULL or python' s None in MATLAB
I think you can use class.empty for null in matlab classdef A < handle properties empty = A.empty; end end...

7 days ago | 0

Solved


Divisible by n, prime divisors (including powers)
For this problem, you will be provided an array of numbers (not necessarily in order). Return the array of numbers with only pri...

27 days ago

Solved


What? Paradox?
What's going on here?

2 months ago

Solved


Functionality 1
It's all about functionality. *Cheating is allowed but not required*

2 months ago

Solved


Generate a matrix as follows
write a Function that gives like the following for a random n: n=2 ans= [ 0 1 1 0] n=6 ans= [ 0 ...

2 months ago

Solved


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] ) == [...

4 months ago

Solved


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...

4 months ago

Solved


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

5 months ago

Solved


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

5 months ago

Solved


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

5 months ago

Solved


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

5 months ago

Solved


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...

5 months ago

Solved


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...

6 months ago

Solved


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.

6 months ago

Solved


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

6 months ago

Solved


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.

6 months ago

Solved


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...

6 months ago

Solved


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...

6 months ago

Solved


Function - Cylinder Surface Area
The goal

6 months ago

Solved


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.

6 months ago

Solved


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

6 months ago

Solved


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...

6 months ago

Solved


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...

6 months ago

Solved


Sales Tax

6 months ago

Solved


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...

6 months ago

Load more