Feeds
已解决
Guess
A random number between 1 and 10 is created for the variable y. Guess what its value is.
12 months 前
已解决
Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...
12 months 前
已解决
Count photos
Given n people, everyone must have pictures taken with everyone, each photo includes only two persons, please count the total nu...
12 months 前
已解决
03 - Matrix Variables 6
Make _fMat_ be a 5x3 matrix of random integers with values from -3 to 3 (Hint: use *randi*)
12 months 前
已解决
Arrange vector in ascending order
Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];
12 months 前
已解决
MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8
12 months 前
已解决
multiply an array by its position number
You have given an array. Multiply an array by its position number
12 months 前
已解决
Divide by 4
Given the variable x as your input, divide it by four and put the result in y.
12 months 前
已解决
Don't Include a Five (Part Two)
Given a vector A with at least one non-five, return vector B, with all fives excluded (not replaced by zeros).
12 months 前
已解决
Don't Include a Five
Given a vector A, return vector B with all 5s replaced with 0s.
12 months 前
已解决
High Five!
Write a function that takes a number x and returns y = 'High Five' if x is not equal to five. Return y = 'Denied' if the number ...
12 months 前
已解决
Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...
12 months 前
已解决
Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.
12 months 前
已解决
Calculate the average value of the elements in the array
Calculate the average value of the elements in the array
12 months 前
已解决
the average value of the elements
Calculate the average value of the elements in the array
12 months 前
