# Kenneth Eaton

### Hellebore Consulting Group, LLC

I'm a seasoned biomedical researcher and software developer with expert knowledge of computational biology, object-oriented programming, image processing, statistical analysis, and user interface design. I've been programming for over 30 years, having cut my teeth on BASIC and Logo when I was 10.

You can often find me on Stack Overflow answering MATLAB questions: http://stackoverflow.com/users/52738/gnovice

**Statistics**

RANK**180**

of 265,262

REPUTATION**546**

CONTRIBUTIONS

**0** Questions

**38** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**238**

RANK**712** of 18,128

REPUTATION**2,416**

AVERAGE RATING**4.50**

CONTRIBUTIONS**10** Files

DOWNLOADS **22**

ALL TIME DOWNLOADS**22595**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

How do I skip items in a legend?

Starting in R2021a, you can leave an item out of a legend by setting the corresponding label to an empty character vector. For e...

9 months ago | 95

| accepted

Error using FreezePanes in Excel

You could try setting the property with a logical value, since it expects a Boolean type: Excel.ActiveWindow.FreezePanes = true...

3 years ago | 0

What matlab easter eggs do you know?

As <http://blogs.mathworks.com/steve/2006/10/17/the-story-behind-the-matlab-default-image/ Steve discussed in one of his blog po...

5 years ago | 19

I am trying to use the function imfill() but it does not run and the following message is displayed: Undefined function or variable 'eml_assert_all_constant'. I can't find such fuction in MATLAB documentation.

If you use the function <https://www.mathworks.com/help/matlab/ref/which.html |which|> like so: which iptcheckconn -all ...

5 years ago | 3

Submitted

dirPlus

dirPlus will recursively collect a list of files/folders from a folder tree.

5 years ago | 9 downloads |

Submitted

MouseManager

The MouseManager class provides an interface for managing mouse interactions with figure objects.

5 years ago | 2 downloads |

Why is subsref and subscripted reference not equivalent

Not sure if this is a complete answer, but it appears that invoking subsref directly requires a stricter definition of the outpu...

5 years ago | 1

Solved

Is this triangle right-angled?

Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

7 years ago

Solved

Area of an equilateral triangle

Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

7 years ago

Solved

Area of an Isoceles Triangle

An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<http://upload...

7 years ago

Solved

Length of a short side

Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

7 years ago

Solved

Length of the hypotenuse

Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

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

7 years ago

Solved

Swap the first and last columns

Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

7 years ago

Solved

Make a checkerboard matrix

Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

7 years ago

Solved

Find all elements less than 0 or greater than 10 and replace them with NaN

Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

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

7 years ago

Solved

Column Removal

Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

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

7 years ago

Solved

Determine if input is odd

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

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

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

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

7 years ago

Solved

Solve the Sudoku Row

*Description* A simple yet tedious task occurs near the end of most Sudoku-solving algorithms, computerized or manual. The ta...

7 years ago

Hump-day challenger - Recursion

My first attempt: function index = find_index(M,V) switch numel(M) case 0 index = []; case 1 ...

11 years ago | 1

| accepted

How can i remove the sky from this image. (About background removal question)

I'm unclear how <http://www.mathworks.com/help/techdoc/ref/zeros.html ZEROS> is to be used for this problem, but you could do it...

11 years ago | 3

| accepted

How do I generate a given Matrix in one command?

I can't believe no one suggested dilation: A = imdilate(eye(5),ones(2)); Or convolution: A = sign(conv2(eye(5),ones(2),'s...

11 years ago | 3

Slice thickness information lost when using dicomwrite()

I think your problem may be the missing capitalization of the "t" in the name |SliceThickness|. Notice that all the fields in th...

11 years ago | 0

| accepted