Feeds
已解决
row removal
Remove the nth row from input matrix M and return the resulting matrix in output N.
9 years 前
已解决
mean
Calculate the mean of a given vector (with positive elements) and return them in a vector.
9 years 前
已解决
extract the fifth through the last elements
For any vector x, write a function that extracts the fifth through the last elements.
9 years 前
已解决
the length of a given vector
Given a vector x, the output y should equal the length of x.
9 years 前
已解决
complex numbers
For complex number z=a+bi, write code that will multiply a and b together.
9 years 前
已解决
a column vector to a row vector
Write a script to convert a column (e.g. x = [1; 2; 3]) to a row (e.g. y = [1 2 3]), your script should be able to do this for a...
9 years 前
已解决
a vector with a repeated entry
Create a row vector of length x, filled with 7's, for example, if x = 5 output = [7 7 7 7 7] make sure to round UP when x ...
9 years 前
已解决
intervals
Write a function that takes an interval from a to b, and divides it into 6 parts.
9 years 前
已解决
square root
Write a script that returns the square root of the elements in x. e.g. x = [1 4 9 16] --> y = [1 2 3 4]
9 years 前
已解决
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
9 years 前


