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...
2年以上 前
解決済み
Area of a circle
Given the radius x, y would be the area of a circle.
Pi = 3.1416
2年以上 前
解決済み
Rotate a Matrix
Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise
2年以上 前
解決済み
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 ...
2年以上 前
解決済み
Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.
2年以上 前
解決済み
Log of a number
Write a script that will give the log of x as output.
2年以上 前
解決済み
Unit conversion
Convert x degree Celsius to y degree Fahrenheit.