Professional Interests: signal processing, radars
Top 10% contributor
Dear Bob, I have a similar problem. Have you solved your problem and if yes could you please tell me how?
3 years ago
Given a and b, return the sum a+b in c.
3 months ago
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...
2 years ago
Regardless of input, output the string 'yes'.
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...
Triangle numbers are the sums of successive integers. So 6 is a triangle number because
6 = 1 + 2 + 3
which can be displa...
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false.
4 years ago
Find the sum of all the numbers of the input vector x.
Input x = [1 2 3 5]
Output y is 11
Input x ...
Given the lengths of the 3 sides of a triangle, output the radius of the circumscribed circle.
[3 4 5] -> 2.5
In MATLAB, you create a vector by enclosing the elements in square brackets like so:
x = [1 2 3 4]
Commas are optional, s...
Remove the nth column from input matrix A and return the resulting matrix in output B.
A = [1 2 3; 4 5 6];
Given the input n, return true if n is odd or false if n is even.
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.