# Binbin Qi

### China University of Petroleum

Professional Interests: Machine Learning/ Math/ Geophysics

**Statistics**

RANK**1,697**

of 258,335

REPUTATION**28**

CONTRIBUTIONS

**2** Questions

**14** Answers

ANSWER ACCEPTANCE **
50.0%
**

VOTES RECEIVED**4**

RANK**4,161** of 17,802

REPUTATION**311**

AVERAGE RATING**3.70**

CONTRIBUTIONS**7** Files

DOWNLOADS **32**

ALL TIME DOWNLOADS**3011**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Solved

Draw 'P' !!!

Draw a n by n matrix 'P' using 0s and 1s. (n is odd and greater than 4) if n=5 , then the output will be [1 1 1 1 1 1 0 0 0...

4 months ago

Solved

Find the summation, mean, median, mode and standard deviation of a given array.

An array is given. Find out the summation, mean, median, mode and standard deviation of a given array. If x=[1,2,2,3,3,3,4,4,4,...

4 months ago

Solved

Sum of two number using (regexp, varargin) comand?

Sum two number a &b and get there result in c using the rexp and varargin comand.

4 months ago

Solved

Draw matrix 'Swiss flag'( Euro 2020)

Draw a x-by-x matrix 'Swiss flag' using '0' and '1'.(x is odd and bigger than 4) Example x=5 ...

4 months ago

Solved

Easy Sequences 5: Project Euler Problem 1 - Again!

We are all familiar with Project Euler Problem 1. This time let's try it on bigger multiples and larger range. Find the sum of ...

4 months ago

Solved

Easy Sequences 4: Eliminate the Days of Confusion

If a date is written in purely numeric format some dates can be confusing, if we don't know the date format used. For example, "...

4 months ago

Solved

Easy Sequences 3: Prime 44-number Squares

The positive integers 62 and 238 are related. Their squares (3844 and 56,644) both end in '44'. In fact, 62 and 238 are the 3rd ...

4 months ago

Solved

Easy Sequences 2: Trigonometric function with integral input and output

The function 'F', defined as: , will always return an integer if the input is a natural number (in radian...

4 months ago

Solved

Easy Sequences 1: Find the index of an element

The nth element of a series is defined by: . Obviously, the first element . Given the nth element , find the value of the corre...

4 months ago

Solved

Total resistance of resistors in parallel

What is the total resistance of a number of resistors in parallel? A vector R contains the resistances (in Ohm) of n resistors,...

4 months ago

Solved

Total resistance of resistors in series

What is the total resistance of a number of resistors in series? A vector R contains the resistances (in Ohm) of n resistors, w...

4 months ago

Solved

UICBioE240 problem 1.12

The mathematical quantities e^x, ln x, and log x are calculated in Matlab using the expressions exp(x), log(x), and log10(x), re...

4 months ago

Solved

Leftovers? Again?!

I am thinking of a positive number X. To determine what number I am thinking of, I will give you two 1xN vectors. The first ve...

4 months ago

Solved

Find the largest number

Find the largest number |x| among 4 numbers given as variables |a|, |b|, |c|, and |d|. Example: Input: a = 4; b = 7; c ...

4 months ago

Solved

make histogram

You probably know the function hist(x,n) to get the histogram. Now try to write the function yourself! For the cheaters wanting...

4 months ago

Solved

A little bit of luck needed

This one may require a little bit of guess work, but it is possible. Hints: - The same solution might fail the tests once and ...

4 months ago

Solved

ICFP2021 Hole-In-Wall: Calculate Score

The ICFP held its annual 3-day contest in July 2021 with Hole-In-Wall. Contest Specification. The contest folds the figure in R...

4 months ago

Solved

Which Prime

Given two prime numbers, specify the relation between them i.e. - 'Twin Prime', 'Cousin Prime', 'Sexy Prime' or 'None'

4 months ago

Solved

Create array of all Distances between two Sets of Points

This Challenge is a subsection of Martian Pranks based on Tim's efficient Distance calculation between sets of points. Given Po...

4 months ago

Solved

Sum the rows

Sum the rows of the given matrix. Example x = [ 1 2 3 4 ] y = [ 3 7 ]

5 months ago

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

6 months ago

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

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

7 months ago