Multielement indexing of a row array
The row array birthRateChina stores the China birth rate (per 1000 people) for years 2000 to 2012. Write a statement that create...
12年以上 前
解決済み
ABBREVIATION
Abbreviate the given string. Consider Only Capital Letters.
EXAMPLE
If input is 'Abbreviation of The Given String' then ou...
12年以上 前
解決済み
Temperature conversion
Convert temperature in degrees Celsius (C) to temperature in degrees Kelvin (K). Assume your answer is rounded to the nearest Ke...
12年以上 前
解決済み
What percentage?
Calculate the output c as the percentage of a on b for given a and b.
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...
13年弱 前
解決済み
MATCH THE STRINGS (2 CHAR) very easy
Match the given string based on first two characters on each string.
For example
A='harsa';
b='harish'; result '1'
...
Derivative of polynomial
Compute the derivative of a given polynomial. The input is an <http://www.mathworks.com/help/matlab/math/representing-polynomial...
13年弱 前
解決済み
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...
約13年 前
解決済み
Moving average (variable kernel length)
Find the moving average in a vector. The kernel length is a variable.
For example
x = 1:10
kernel_length = 2
would r...
約13年 前
解決済み
Binary Coder
Take an input number and print the binary value of this number.
Sunday bonus
Submit a solution on any Sunday and you will get 10 points. Only for MATLAB fans!
約13年 前
解決済み
Creation of 2D Sinc Surface
This Challenge is to efficiently create the Sombrero function of various sizes, resolutions, and frequencies.
<<https://sites...