Polygon Interior Angle Sum
Given the number of sides of a regular polygon, find the sum of interior angles.
Return 0 for input for which regular polygon a...
Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns.
E...
4 years 前
已解决
Area of a circle
Given the radius x, y would be the area of a circle.
Pi = 3.1416
4 years 前
已解决
Rotate a Matrix
Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise
4 years 前
已解决
Find the product of a Vector
How would you find the product of the vector [1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0] times 2?;
x = [1 : 0.5 : 6];
y ...
4 years 前
已解决
Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.
4 years 前
已解决
Log of a number
Write a script that will give the log of x as output.
4 years 前
已解决
Unit conversion
Convert x degree Celsius to y degree Fahrenheit.