Community Profile

photo

Chi Zhang


Last seen: 5日 前
328 2017 年以降の合計貢献数

連絡する

Chi Zhang's バッジ

  • Matrix Manipulation I Master
  • Community Group Solver
  • Introduction to MATLAB Master
  • CUP Challenge Master
  • Draw Letters
  • First Answer
  • Indexing II Master
  • Indexing I Master
  • Promoter
  • Solver

詳細を表示...

貢献した分野
表示方法

解決済み


Integer or Float?
Test an input to see whether it is an integer or a floating point number. If it is an integer return 1 for 'true'. Otherwise ret...

6ヶ月 前

解決済み


Guess
A random number between 1 and 10 is created for the variable y. Guess what its value is.

6ヶ月 前

解決済み


Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

6ヶ月 前

解決済み


Remove the Zero
Given an array n, remove all zeros

6ヶ月 前

解決済み


Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.

6ヶ月 前

解決済み


Colon operator of two vectors
You are given two vectors of equal length: VecStart, VecEnd Each vector contain a set of integers, where VecEnd(j)>=VecStar...

6ヶ月 前

解決済み


Create matrix of replicated elements
Given an input element x, and the dimensions, (m, n) return a matrix of size m x n filled with element x. Example: Input: ...

6ヶ月 前

解決済み


Product of elements in row
Product of matrix such that a=[3 3 1] b=9

6ヶ月 前

解決済み


The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

6ヶ月 前

解決済み


Geometric series
Find the sum, given the first term t1, the common ratio r, and number of terms n. Examples If input t1=1, r=1, n=7 the...

6ヶ月 前

解決済み


Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....

6ヶ月 前

解決済み


Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input ...

6ヶ月 前

解決済み


Arrange vector in ascending order
Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];

6ヶ月 前

解決済み


Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

6ヶ月 前

解決済み


Replace pattern 0 1 0 and 1 0 1
Find and replace a pattern in a row of zeroes and ones. * Find 1 0 1 and replace it with 1 1 1 * Find 0 1 0 and replace it w...

6ヶ月 前

解決済み


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ヶ月 前

解決済み


Count decimal digits of a number
* Given an integer number you have to return the number of its digits. * For example 248 has 3 digits and 1589 has 4 digits ...

6ヶ月 前

解決済み


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

6ヶ月 前

解決済み


Area of a disk
Find the area of a disk or circle. x= radius of the disk.

6ヶ月 前

解決済み


Find the Nth Root of a Given Number
Find the Nth root of a given number x. Examples x = 4096 n = 4 y = 8 x = 625 n = 5 y = 3.6239

6ヶ月 前

解決済み


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

6ヶ月 前

解決済み


Sum the Digits of a Number
Given an integer, sum the digits repeatedly until you end up with a single value less than 10. For example, if you add the di...

6ヶ月 前

解決済み


Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1

6ヶ月 前

解決済み


Reverse the Words (not letters) of a String
*Description* Change the words of a string such that the words appear in reverse order. You may assume that the string is a n...

6ヶ月 前

解決済み


Make a 1 hot vector
Make a vector of length _N_ that consists of all zeros except at index _k_, where it has the value 1. Example: Input ...

6ヶ月 前

解決済み


Reverse a matrix
Its simple. You have to reverse a given matrix.

6ヶ月 前

解決済み


Find out sum of all elements of given Matrix
Find out sum of all elements of given Matrix A=[1 2 3;4 5 6 ;7 8 9]; Answer must be: 45 *If you like this problem, pl...

6ヶ月 前

解決済み


surface of a spherical planet
you just discovered its circumference, that is the input.

6ヶ月 前

解決済み


Determine the square root
Determine the square root of the value the user has entered, n.

6ヶ月 前

解決済み


Counting Money
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...

6ヶ月 前

Load more