Community Profile

# anukriti dureha

### Amity University

20 total contributions since 2013

Professional Interests: image processing,machine learning, cryptography,neural networks,signal proceesing,computer vision

Contributions in
View by

Solved

Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

1 year ago

Solved

Scoring for oriented dominoes
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

Solved

Given a window, how many subsets of a vector sum positive
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 ...

2 years ago

Solved

How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

2 years ago

Solved

Given a and b, return the sum a+b in c.

2 years ago

Solved

Is my wife right?
Regardless of input, output the string 'yes'.

2 years ago

Solved

Is this triangle right-angled?
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...

2 years ago

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

2 years ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

2 years ago

remove a car from an image
here u go...i think this should help...creating a structring element should be helpful http://www.mathworks.in/help/vision/exam...

3 years ago | 0

| accepted

Solved

Make a run-length companion vector
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 ...

3 years ago

Solved

Flag largest magnitude swings as they occur
You have a phenomenon that produces strictly positive or negative results. delta = [1 -3 4 2 -1 6 -2 -7]; Marching thr...

3 years ago

Solved

Implement simple rotation cypher
If given a letter from the set: [abc...xyz] and a shift, implement a shift cypher. Example: 'abc' with a shi...

3 years ago

Solved

Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

3 years ago

Solved

Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

3 years ago

Solved

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:...

3 years ago

I need to use 'for loop' to read the names from a text file using 'fgetl' function. How do I do that?
try these 2 links...it may help <http://www.mathworks.in/help/matlab/ref/feof.html> <http://www.mathworks.in/help/matlab/ref...

3 years ago | 0

convert Vector into matrix ?
hi alex, you can do this: i=1; ind=0; num=3; while num <=5 ind=ind+1; z{i}=A(ind:num); num=num+1; i=i+1;...

3 years ago | 0

Submitted

translate_cog
translation of centre of gravity of a 2d image to the origin.