Find the missing numbers.
Total *N* numbers are in the series of natural numbers ( *1,2,3,...,N* ).
The input is an array (unsorted) of those natural num...
Perfect Square or not
find Given input x is perfect square or not,if yes then output y=1.else y=0
4ヶ月 前
解決済み
multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y.
Examples:
Input x = 2
Output y is ...
4ヶ月 前
解決済み
Reverse Run-Length Encoder
Given a "counting sequence" vector x, construct the original sequence y.
A counting sequence is formed by "counting" the entrie...
4ヶ月 前
解決済み
Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...
4ヶ月 前
解決済み
Too mean-spirited
Find the mean of each consecutive pair of numbers in the input row vector. For example,
x=[1 2 3] ----> y = [1.5 2.5]
x=[1...
4ヶ月 前
解決済み
Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.
4ヶ月 前
解決済み
Divide by 4
Given the variable x as your input, divide it by four and put the result in y.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.