Professional Interests: image processing,machine learning, cryptography,neural networks,signal proceesing,computer vision
Top 5% contributor
here u go...i think this should help...creating a structring element should be helpful
Answered 2 years ago
barycentric_coordinates will give the coordinates alpha, beta ,gama of the
3 years ago
Given the input n, return true if n is odd or false if n is even.
1 year ago
Given a list of ordered pairs, and the order they should be placed in a line, find the sum of the absolute values of the differe...
2 years ago
Given a vector:
[1 0 -1 3 2 -3 1]
and a window of 2,
A sliding window would find:
1 + 0 = 1
0 - 1 = -1
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for.
Given a and b, return the sum a+b in c.
Regardless of input, output the string 'yes'.
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...
Find the sum of all the numbers of the input vector x.
Input x = [1 2 3 5]
Output y is 11
Input x ...
In MATLAB, you create a vector by enclosing the elements in square brackets like so:
x = [1 2 3 4]
Commas are optional, s...
Given a vector x, return a vector r that indicates the run length of any value in x. Each element in r shows how many times the ...
You have a phenomenon that produces strictly positive or negative results.
delta = [1 -3 4 2 -1 6 -2 -7];
If given a letter from the set:
and a shift, implement a shift cypher.
with a shi...
Triangle numbers are the sums of successive integers. So 6 is a triangle number because
6 = 1 + 2 + 3
which can be displa...
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
try these 2 links...it may help
Answered 3 years ago
hi alex, you can do this:
while num <=5
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a location from the following list:
See all countries