Feeds
已解决
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...
8 hours 前
已解决
Cos Function
x is the abscissa. find the absolute value of cosine of -x and the same value with changed sign.
8 hours 前
已解决
Calculating Ring Area
In two-dimensional space, a ring can be constructed by using two concentric circles. Determine the area of a ring which has r1 ...
8 hours 前
已解决
Basic commands - Greatest common divisor
Please write a function, which, will put as output greatest common divisor. Example: A = [-5 17; 10 0];...
8 hours 前
已解决
Union of two set decreasing order
Union of two set decreasing order Say, x=[1 2 5] and y=[5 7 8] then answer must be [8 7 5 2 1]
8 hours 前
已解决
Vertically stack two vectors
Stack two vectors on top of each-other so that... if A = [1 5 3] and B = [8 6 4] then C = [1 5 3 ; 8 6 4]
9 hours 前
已解决
determine amount cookies left
started with 3 cookies and you never ate any how many are left
9 hours 前
已解决
Baseball Pitch Question
One pitcher made 10 practice pitches during his warm up before the game. Using the given information, create a vector matrix an...
9 hours 前
已解决
Matlab Basics II - Free Fall
An object freely falling from rest under gravity covers a distance x given by: x = 1/2 gt^2 write a function that calculat...
9 hours 前
已解决
The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...
9 hours 前
已解决
Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]
9 hours 前
已解决
Find the "ordinary" or Euclidean distance between A and Z
A, B and Z define three points in the 3D _Euclidean_ space of the form: A = [x1;y1;0]; B = [x2;y2;0]; Z = [x2;y2;z]; Find th...
9 hours 前
已解决
Evaluate Polynomial
Given a polynomial equation coefficients in a vector p, you have to return its value at x. Example: For inputs p and x ...
9 hours 前
已解决
Matlab Basics - Pick out parts of a vector
Consider x a vector of length >= 7 (there are at least 7 elements in the vector, write a script that extracts the 2nd element, a...
9 hours 前
已解决
Cannon Ball
Given g (acceleration due to gravity) and desired altitude x, find the minimum ground velocity of a cannon ball to reach x.
9 hours 前
已解决
Remove white space from the string
Remove the white spaces (trailing and leading) from the input variable
9 hours 前
已解决
edge detection
write a function that gives the indexes of rising or falling edge x is a vector (assume it contains always at least one eleme...
9 hours 前
已解决
Build the Well
Calculate the total time taken for building 'n' wells given : Worker A takes a hr to build the well alone Worker B takes b hr...
9 hours 前
已解决
Find sum of alternate numbers in a vector
Find sum of alternate numbers in a vector starting from index 1
9 hours 前

