Community Profile

photo

Xiaoli Zhang


526 2016 이후 총 참여 횟수

Xiaoli Zhang's 배지

  • Tiles Challenge Master
  • Promoter
  • ASEE Challenge Master
  • CUP Challenge Master
  • Cody Challenge Master
  • Commenter
  • Solver

세부 정보 보기...

참여 게시물
보기 기준

해결됨


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

2년 이하 전

해결됨


Generalised Hamming Number
Inspired by Project Euler n°204 and Problem 1308 by James A generalised Hamming number of type n, has no prime factor larger ...

3년 이하 전

해결됨


nth Rational Number
Return the nth rational number. This is the inverse to Problem <http://www.mathworks.com/matlabcentral/cody/problems/1471 1...

3년 이하 전

해결됨


Polygonal numbers
The task of <http://www.mathworks.co.uk/matlabcentral/cody/problems/5 Problem 5> is to calculate triangular numbers. By playing ...

3년 이하 전

해결됨


Polite numbers. Politeness.
A polite number is an integer that sums of two or more consecutive positive integers. Politeness of a positive integer is a num...

3년 이하 전

해결됨


For loops: Odds sum
Write a for loop that assigns summedValue with the sum of all odd values from 1 to userNum. Assume userNume is always greater th...

3년 이하 전

해결됨


N-th Odious
Given index n return n-th <https://oeis.org/A000069 odious number>.

3년 이하 전

해결됨


Bell Number calculator
Calculate a vector of Bell numbers for sets up to length n. Bell numbers are the maximum number of partitions of a set. See the ...

3년 이하 전

해결됨


Polite numbers. N-th polite number.
A polite number is an integer that sums of at least two consecutive positive integers. For example _7 = 3+4_ so 7 is a polite...

3년 이하 전

해결됨


Bridge toll
Complete the example to calculate finalToll. The base toll for a bridge is baseToll. If the vehicle's weight is over 5,000 pound...

3년 이하 전

해결됨


Perfect Square or not
find Given input x is perfect square or not,if yes then output y=1.else y=0

3년 이하 전

해결됨


Find the logic
There exists one logic in between input and output. Find it (easy math). Example 1: x=13 then y=339; Example 2: x=26...

3년 이하 전

해결됨


Writing a while loop
Write a while loop that continues to increment userValue by 5 until userValue is less than 0.

3년 이하 전

해결됨


Food safety
Assign safeTemperature with 1 if foodTemperature is less than 40 or greater than 165.

3년 이하 전

해결됨


Derivative of polynomial
Compute the derivative of a given polynomial. The input is an <http://www.mathworks.com/help/matlab/math/representing-polynomial...

3년 이하 전

해결됨


Sophie Germain prime
In number theory, a prime number p is a *Sophie Germain prime* if 2p + 1 is also prime. For example, 23 is a Sophie Germain prim...

3년 이하 전

해결됨


Is it an Armstrong number?
An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself. Fo...

3년 이하 전

해결됨


Close MATLAB with keyboard
Close MATLAB with keyboard without using mouse

3년 이하 전

해결됨


Gauss Eliminate 2-by-2 example
Use forward elimination to make the coefficient matrix, A, an upper triangular matrix, and then solve using back substitution, f...

3년 이하 전

해결됨


While loop: Summation
Write a while loop that assigns summedValue with the sum of all values from 1 to userNum. Assume userNum is always greater than ...

3년 이하 전

해결됨


Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

3년 이하 전

해결됨


Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.

3년 이하 전

해결됨


Duplicate a character
Duplicate a character 'n' times. Example 1: str='a' n=5 output='aaaaa' Example 2: str='*' n=3 output='***'

3년 이하 전

해결됨


matrix of natural number
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 resides seially as shown in the examples below. ...

3년 이하 전

해결됨


Volume of this donut
Given hole diameter a, and outermost diameter b, determine the volume y of the resulting donut.

3년 이하 전

해결됨


ASCii Code
Using Matlab get the ASCii for '?'

3년 이하 전

해결됨


Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

3년 이하 전

해결됨


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

3년 이하 전

해결됨


Switch matrix to a column vector
for e.g. x = [1 2 3 4] y = 1 3 2 4

3년 이하 전

해결됨


Create incrementing array
Given a and b generate an output matrix as shown in following examples: a=2 b=5 output=[2 20 200 2000 20000] a=4 b...

3년 이하 전

Load more