**Programming Languages:**

MATLAB

**Spoken Languages:**

English

**Statistics**

RANK**340**

of 250,059

REPUTATION**196**

CONTRIBUTIONS

**4** Questions

**48** Answers

ANSWER ACCEPTANCE **
100.0%
**

VOTES RECEIVED**49**

RANK**12,809** of 17,373

REPUTATION**16**

AVERAGE RATING**5.00**

CONTRIBUTIONS**1** File

DOWNLOADS **19**

ALL TIME DOWNLOADS**116**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Solved

Find the stride of the longest skip sequence

We define a _skip sequence_ as a regularly-spaced list of integers such as might be generated by MATLAB's <http://www.mathworks....

9 hours ago

Solved

Mystery problem

Given integer x between 1 and 50, return integer y=mystery(x), where mystery(1) = 111 mystery(6) = 809 ... mystery...

11 hours ago

Solved

Evaluate the incomplete elliptic integrals

Elliptic integrals can be used to evaluate integrals whose integrands have the form R(x,sqrt(P(x))), where R(x,y) is a rational ...

13 hours ago

Solved

determine the sum of decimal part for given matrix

determine the sum of fraction part for the given matrix

19 hours ago

Solved

If you prick us, do we not bleed?

While doing some quick sewing to fix up your child's Halloween costume, you accidentally jab your finger with the needle. Refle...

1 day ago

Solved

Generalized N-Cards Problem

Preface: This is a generalized version of the problem I presented <http://www.mathworks.com/matlabcentral/cody/problems/271-n-ca...

1 day ago

Solved

Convert RGB triplet to ColorSpec string

This is the inverse to <http://www.mathworks.com/matlabcentral/cody/problems/42612-convert-colorspec-string-to-rgb-triplet this ...

2 days ago

Solved

Convert ColorSpec string to RGB triplet

Given a ColorSpec string, either in short or long form, return the corresponding RGB triplet. If the input is not a valid color,...

2 days ago

Solved

Time reverse indices

Time reverse the index values as follows IndexIn = [7 1 0] IndexOut = [7 6 0] Note that the indices are zero based and so...

2 days ago

Solved

Which coins to give

I was in shop today. I admired, how shop assistant had to think, which coins to give me. The task is we have a vector v=[0.5 0....

3 days ago

Solved

Find an overlap in the cleaning schedule of two tank reactors

In a certain pharmaceutical production company, there are two tank reactors operating simultaneously and independent of each oth...

4 days ago

Solved

Restricted Multiplication v1

This problem is Restricted Addition v4 with multiplication and more restrictions. multiply two inputs without use of common ari...

4 days ago

Solved

Restricted Addition v4

This problem is Restricted Addition v3 with more restrictions. Also, you must handle matrices. Add two inputs without use of co...

4 days ago

Solved

Remove NaNs and numbers adjacent to NaNs

The aim is to remove the elements before and after NaN occurrences inside a vector. For example: x = [6 10 5 8 9 NaN 23 1...

5 days ago

Solved

Assess the scatter of wind turbines in a field

The renewable energy industry is on the rise in many countries--- and one of the key players is wind energy. It is believed ...

5 days ago

Solved

Code Wheel

Create a function that offsets each value in a given string by a given amount. For instance, codewheel('hello',1) s...

5 days ago

Solved

Find the right x in a 1. order Polynomal (y = m*x+c)

Given two points in a Cartesian coordinate system, find the x-value, where polynomial of 1. order (y = m*x+c) is equal to a giv...

6 days ago

Solved

distance to a straight line (2D) given any 2 distinct points on this straight line

Given 2 points P1,P2 on a straight line and a 3rd point, determine the distance of the 3rd point to the straight line. Your answ...

6 days ago

Solved

Is the test point on the line segment?

Given the [x,y,z] coordinates for the three points pa, pb, and pc, return true if the test point pc is on the line segment with ...

6 days ago

Solved

Determine value using Look-up table method

Given a set of 2 vectors x and y related in a certain way, you are supposed to find value of y (ydash) given a particular value ...

6 days ago

Solved

Find indices of diagonal elements

Given a matrix A and a diagonal index d (where 0 indicates the main diagonal and off-diagonals are identified by positive and n...

7 days ago

Solved

Find the distance between runs

Another question inspired by the <http://uk.mathworks.com/matlabcentral/answers/?s_tid=gn_mlc_an answers forum>: A vector of ...

7 days ago

Solved

find location of indexes

Given a vector with integer values. Find the edge location of the stream of same value. For example: A=[0 0 0 1 1 1 1 2 2 ...

7 days ago

Solved

Greed is good - Simple partition P[n].

Find a simple partition P[n]. E.g. P[10] = 4 + 3 + 2 + 1. There are many solutions, compute just one set. Don't repeat numbers...

7 days ago

Solved

Primes Faster for Large N

This Challenge is to improve the "primes" function for speed. This may be accomplished by fixing memory usage. The Matlab fun...

7 days ago

Solved

Find S-parameters of the circuit

Refer to <http://en.wikipedia.org/wiki/Scattering_parameters> for the information about the system of scattering parameters. ...

7 days ago

Solved

the fly, the train, the second train, and their Zeno's paradox

*You have heard this one*: A train leaves station _A_ and travels with constant velocity _v1_. A second train leaves station _B_...

8 days ago

Solved

Missing five

Convert decimal numbers to a base-9 notation missing the digit *5* <<http://www.alfnie.com/software/missing5.jpg>> Too man...

8 days ago