Community Profile

# Binbin Qi

### China University of Petroleum

Last seen: 8日 前 2009 年からアクティブ

Followers: 0   Following: 0

Professional Interests: Machine Learning/ Math/ Geophysics

All

バッジを表示

#### Feeds

Armstrong Number
Write a function name armstrong_check that checks whether the given input is an Armstrong Number or not. It returns logical True...

2ヶ月 前

Given a matrix X, manipulate it accordingly
Given a matrix X, 1st add a column to the matrix whose elements are the summation of each rows. Then add a row to the matrix who...

2ヶ月 前

Orthogonalize 3 column vectors using the Gram-Schmidt process
Use the Gram-Schmidt process to orthogonalize three linearly independent column vectors. Return three output column vectors that...

2ヶ月 前

Orthogonalize a 2x2 matrix using the Gram-Schmidt process
Use the Gram-Schmidt process to orthogonalize two linearly independent column vectors. Return two output column vectors that are...

2ヶ月 前

Matrix symmetry
Given a matrix A = [1 2 3; 4 5 6] Flip it horizontally and vertically to obtain a complete reversal of both rows and columns. ...

2ヶ月 前

Create an m x n array consisting only of an input value.
Create an array with m rows and n columns wherein all entries are assigned the input value x.

2ヶ月 前

Return part of an array
Given a 5x5 array, return a 3x3 array that contains the cells that are not on the edge of the array: Given this array Return...

2ヶ月 前

Summing the last column column
Given a matrix, return the sum of the last column of the array.

2ヶ月 前

Count integers in randomized vector that are multiples of a given number.
The mod() function We might all remember the days when we were taught to divide and then set the remainder aside if the numbers...

2ヶ月 前

Find the mean of the magic x
Given a x term, find the magic x, then find the mean/average of any one row or column.

2ヶ月 前

nxn matrix with elements from 1:n^2
really simple once you see what the matrix is supposed to look like. i appreciate what seems to be a clever approach to solving ...

2ヶ月 前

Find alternating sum
Given an array, find alternating sum i.e. – y = x (1) – x (2) + x (3) – x (4) + x (5) - …

2ヶ月 前

Check for armstrong number
Given a number, check if it is an armstrong number. Eg: n = 371 Output: 1 Eg: n = 75 Output: 0

2ヶ月 前

Extract the prime numbers
Given a list of elements, extract the prime numbers from that array.

2ヶ月 前

How many offices does MathWorks have in the UK
Please write a function that returns the number of offices MathWorks has in the UK.

2ヶ月 前

Add Even and Subtract Odd Numbers in an Array
For an input array, add all the even values and subtract the odd values. This final value is the output. E.g. input = [1 2 3 4...

2ヶ月 前

Harmonic series counting
The function takes a positive limit as input, And counts how many terms must be summed in the harmonic series: 1/1, 1/2, 1/3, ...

2ヶ月 前

A times B
A times B

2ヶ月 前

Remove a specific row with max value
Remove the row that contain the max value in the matrix?

2ヶ月 前

Remove a specific row with min value
Remove the row that contain the min value in the matrix?

2ヶ月 前

Remove a specific column with max value
Remove the column that contain the max value in the matrix?

2ヶ月 前

Remove a specific column with min value
Remove the column that contain the min value in the matrix?

2ヶ月 前

Swap between first and last
The idea is to swap between first and last row Ex = [1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; ...

2ヶ月 前

Swap between first and last column
The idea is to swap between first and last column Ex = [1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 ...

2ヶ月 前

Find Rows with Specift Properities
Delete rows with specific properites as following: Find rows that have a negative value in any element of the row and delete it...

2ヶ月 前

Swap between rows
The idea is to swap between second and second last row Ex = [1 2 3 4 5; 5 4 3 2 1; 1 2 3 4 5; 1 2 3 4 5; ...

2ヶ月 前

Swap between columns
The idea is to swap between second and second last column Ex = [1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; ...

2ヶ月 前

Remove a specific character with another
Remove any (-) dash sign with (_) underscore Ex = 'The-Journey-of-thoudsands-miles-starts-with-a-single-step' y = 'The_Jour...

2ヶ月 前

Hemisphere Volume on Top of a Cylinder
This MATLAB function has to calculate the volume of a hemisphere placed on top of a cylinder, given valid inputs. It takes the r...

2ヶ月 前

Range of Values in a Matrix
Create a function that accepts a matrix of real numbers as input and returns the range of the values contained in the matrix. Th...

2ヶ月 前