Community Profile

# Binbin Qi

### China University of Petroleum

3.649 total contributions since 2009

Professional Interests: Machine Learning/ Math/ Geophysics

View all

Contributions in
View by

Solved

Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

9 Tage ago

Solved

square a number twice with square root of 4/5
square a number twice with square root of 4/5

9 Tage ago

Solved

Sum Sum Sum!
Calculate the sum of the natural numbers from 1 to n

12 Tage ago

Solved

Perimeter of a square!
Calculate the circumference of the square whose side is n

12 Tage ago

Solved

Triangle???
Calculate the circumference of an equilateral triangle with x

12 Tage ago

Solved

Sum sum!!!
Sum the numbers from 1 to n

12 Tage ago

Solved

Calculate the square root of a number
Input a Output b = srt(a)

12 Tage ago

Solved

calculate the length of matrix
input 1 array, calculate the length

12 Tage ago

Solved

Find the max element of the array
Find the max element of the array

12 Tage ago

Solved

to the 2 all elements
to the 2 all elements

12 Tage ago

Solved

easy problem
Find the last element of the array

12 Tage ago

Solved

the average value of the elements
Calculate the average value of the elements in the array

12 Tage ago

Solved

Converts numbers into characters
Converts numbers into characters

12 Tage ago

Solved

Duplicate all elements in the array
Duplicate all elements in the array

12 Tage ago

Solved

Chào các bạn.
Cho 3 số. Tính tổng của chúng

29 Tage ago

Solved

Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...

29 Tage ago

Solved

What time can I drive after drinking?
At T o'clock, after a hard day of Matlab, I immediately start drinking and treat myself to N pints of tasty beer. Each beer I dr...

etwa 2 Monate ago

Solved

Pascal's Equilateral triangle inside a Matrix!!!
Given a number of row 'n', generate the following pascal's matrix 'p' where spaces are filled by 'zeros'. number of row, n = ...

etwa 2 Monate ago

Solved

Efficiency of a single phase Transformer
Calculate the efficiency of a single phase transformer whose KVA rating is A KVA, loading factor x,power factor p,full load copp...

etwa 2 Monate ago

Solved

Float like a cannonball
Given gravity on earth (g=9.81 [m/s/s]) find the distance s [m] by a cannonball propelled at a speed of u [m/s] from the origin ...

etwa 2 Monate ago

Solved

Square root of number
Square root of given number.

etwa 2 Monate ago

Solved

Crop an Image
A grayscale image is represented as a matrix in MATLAB. Each matrix element represents a pixel in the image. The element values ...

etwa 2 Monate ago

Solved

Find the Best Hotels
Given three input variables: * |hotels| - a list of hotel names * |ratings| - their ratings in a city * |cutoff| - the rat...

etwa 2 Monate ago

Solved

Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the rolls is likely to be close to the expected value of a sin...

etwa 2 Monate ago

Solved

Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

etwa 2 Monate ago

Solved

Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

etwa 2 Monate ago

Solved

Calculate BMI
Given a matrix |hw| with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 inch = 2.54 centimet...

etwa 2 Monate ago

Solved

Solve a System of Linear Equations
Given a constant input angle &theta;(theta) in radians, create the coefficient matrix(A) and constant vector(b) to solve the giv...

etwa 2 Monate ago

Solved

Rescale Scores
Each column (except last) of matrix |X| contains students' scores in a course assignment or a test. The last column has a weight...

etwa 2 Monate ago

Solved

Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as |y = A.&#8519;^(-&lambda;t).cos(2πft)| Given inputs &lambda; ( |lambda...

etwa 2 Monate ago