Community Profile

photo

shi xiaohui


16 total contributions since 2017

shi xiaohui's Badges

  • First Submission
  • Solver

View details...

Contributions in
View by

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

6 Monate ago

Solved


Remove NaN ?
input -> matrix (n*m) with at least one element equal to NaN; output -> matrix(p*m), the same matrix where we deleted the enti...

6 Monate ago

Solved


Remove the air bubbles
Given a matrix a, return a matrix b in which all the zeros have "bubbled" to the top. That is, any zeros in a given column shoul...

6 Monate ago

Solved


DC chopper
Input x is the sampled signal vector, may have both AC and DC components. output vector y should have AC components removed then...

6 Monate ago

Solved


Filter AC, pass DC
Input x is the sampled signal vector, may have both AC and DC components. Output vector y should not contain any AC component. ...

6 Monate ago

Solved


Remove DC
Input x is the sampled signal vector, may have both AC and DC components. Output y should not contain any DC component. Examp...

6 Monate ago

Solved


Reverse the elements of an array
Reverse the order of elements in an array: eg: input X = [ 1 2 3 ; 4 5 6 ; 7 8 9 ] o...

6 Monate ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

6 Monate ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

6 Monate ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

6 Monate ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

6 Monate ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

6 Monate ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

6 Monate ago

Solved


Multiply by 3
Given the variable x as your input, multiply it by three and put the result in y.

6 Monate ago

Submitted


kalman plus weight time scale
time scale, natural kalman, kalman plus weight, reduced kalman plus weight

11 Monate ago | 1 download |

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

mehr als 2 Jahre ago