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
...
Do you like your boss?
Do you like your boss?
Answer can be any string!
For example:
Boss = 'Do you like your boss?';
Output = 'yes'
or
...
2年以上 前
解決済み
Square a Number
Given an input x, return y, which is equal to the square of x.
2年以上 前
解決済み
Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.
2年以上 前
解決済み
Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x?
<<https://i.imgur.com/jlZDHhq.png>>
...
2年以上 前
解決済み
Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle.
<<https://imgur...
2年以上 前
解決済み
Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...
2年以上 前
解決済み
MATLAB Basic: rounding III
Do rounding towards minus infinity.
Example: -8.8, answer -9
+8.1 answer 8
+8.50 answer 8
2年以上 前
解決済み
MATLAB Basic: rounding IV
Do rounding towards plus infinity.
Example: -8.8, answer -8
+8.1 answer 9
+8.50 answer 9