Community Profile

photo

Binbin Qi


China University of Petroleum

3 666 total contributions since 2009

Professional Interests: Machine Learning/ Math/ Geophysics

Contact

Binbin Qi's Badges

  • Cody 5th Anniversary Finisher
  • Triathlon Participant
  • Scavenger Finisher
  • Thankful Level 1
  • Knowledgeable Level 1
  • First Answer
  • Famous
  • Likeable
  • Combinatorics I Master
  • Personal Best Downloads Level 1
  • First Review
  • 5-Star Galaxy Level 1
  • First Submission
  • Project Euler I
  • Draw Letters

View all

Contributions in
View by

Solved


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for.

10 jours ago

Solved


Check if integer is a prime number
Check if integer i is a prime number. Returns logical true '1' if it is.

10 jours ago

Solved


Squares in Squares - Concentric Squares
Given a number, n, create an n x n sized matrix with concentric squares of 1s from the outside in. There should be a gap between...

10 jours ago

Solved


remove numbers from a string
check the given string for any numbers.in case one is found,remove it.but the two portions should be separated. if more than one...

26 jours ago

Solved


Calculate the area of a circle
Given a circle of diameter x calculate its area

26 jours ago

Solved


find subscripts from linear index
a matrix and the linear index of an element is given as input. find the subscripts of that element. if linear index=3 , outp...

26 jours ago

Solved


Convert Fahrenheit to Kelvin
Convert the value f in Fahrenheit to Kelvin

26 jours ago

Solved


SAY 'OHYEAH'
Regardless of input, output the string 'OHYEAH'.

26 jours ago

Solved


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

26 jours ago

Solved


factorial
calculate x!

26 jours ago

Solved


Given a vector x, return vector y with all negative elements from the vector x.
Given a vector x, return vector y with all negative elements from the vector x if x has negative elements. Otherwise return 0. ...

26 jours ago

Solved


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;

26 jours ago

Solved


Create a "+" flag
Given two odd numbers, [m, n], return a matrix of size m x n which has all elements of the centre column and centre row set as 1...

26 jours ago

Solved


Square
square root of x

26 jours ago

Solved


Find MPG of Lightest Cars
The file |cars.mat| contains a table named |cars| with variables |Model|, |MPG|, |Horsepower|, |Weight|, and |Acceleration| for ...

26 jours ago

Solved


Quadratic equation
given three inputs (a, b, c) for the equation a*x^2+b*x+c=0; return 1 if the roots are complex (non zero imaginary), and 0 if th...

26 jours ago

Solved


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

environ 2 mois ago

Solved


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

environ 2 mois ago

Solved


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

environ 2 mois ago

Solved


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

environ 2 mois ago

Solved


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

environ 2 mois ago

Solved


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

environ 2 mois ago

Solved


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

environ 2 mois ago

Solved


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

environ 2 mois ago

Solved


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

environ 2 mois ago

Solved


to the 2 all elements
to the 2 all elements

environ 2 mois ago

Solved


easy problem
Find the last element of the array

environ 2 mois ago

Solved


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

environ 2 mois ago

Solved


Converts numbers into characters
Converts numbers into characters

environ 2 mois ago

Load more