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

Answered

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

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

7 mois ago | 0

Answered

How do I skip items in a legend?

To exclude items from a legend, you can specify the objects that you want to include as the first input argument to the “legend”...

How do I skip items in a legend?

To exclude items from a legend, you can specify the objects that you want to include as the first input argument to the “legend”...

12 mois ago | 61

| accepted

Answered

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

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

presque 2 ans ago | 19

Answered

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

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

environ 2 ans ago | 3

Submitted

dirPlus

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

plus de 2 ans ago | 17 downloads |

Submitted

MouseManager

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

plus de 2 ans ago | 3 downloads |

Answered

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

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

plus de 2 ans 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...

environ 4 ans 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...

environ 4 ans 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...

environ 4 ans 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...

environ 4 ans 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....

environ 4 ans 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...

environ 4 ans 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...

environ 4 ans 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...

environ 4 ans 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 ...

environ 4 ans 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...

environ 4 ans 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 ...

environ 4 ans 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...

environ 4 ans ago

Solved

Determine if input is odd

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

environ 4 ans 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 ...

environ 4 ans 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...

environ 4 ans 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:...

environ 4 ans 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...

environ 4 ans ago

Answered

Hump-day challenger - Recursion

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

Hump-day challenger - Recursion

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

plus de 8 ans ago | 1

| accepted

Answered

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

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

plus de 8 ans ago | 3

| accepted

Answered

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

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

plus de 8 ans ago | 3

Answered

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

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

plus de 8 ans ago | 0

| accepted