# Thomas

### X-Rite, Incorporated

Professional Interests: image processing, signal processing, color

**Statistics**

RANK**5,802**

of 257,924

REPUTATION**4**

CONTRIBUTIONS

**12** Questions

**0** Answers

ANSWER ACCEPTANCE **
25.0%
**

VOTES RECEIVED**4**

RANK**7,061** of 17,770

REPUTATION**121**

AVERAGE RATING**2.00**

CONTRIBUTIONS**1** File

DOWNLOADS **2**

ALL TIME DOWNLOADS**1214**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

How do I turn off figure toolbar and turn on axes toolbar

I have an application I made with GUIDE. If I turn on the figure toolbar (set figure.toolbar property to 'figure'), the axes exp...

2 years ago | 0 answers | 0

### 0

answersQuestion

appdesigner code view ANNOYANCE!

the appdesigner code view has gotten into a state where every time i start a new line it pops up a code completion thing to inse...

2 years ago | 1 answer | 0

### 1

answerQuestion

uitable UserData property has inconsistent type

I have an old GUI created with Guide that has a uitable. When I run it in 2014b, its property 'UserData' is initialized to ...

7 years ago | 1 answer | 0

### 1

answerQuestion

Set axes color to 'none' in guide

How can I set the Color property of an axes to 'none' in GUIDE? I can't type 'none' in the property value box in property in...

7 years ago | 0 answers | 0

### 0

answersQuestion

New Graphics troubles with GUIDE

I am having trouble updating a GUIDE built gui to work with 2014b. I have looked at the relevant answers and tried the apps sugg...

7 years ago | 0 answers | 0

### 0

answersQuestion

How do I assign 3D variables when third dimension has size one?

Is this a bug? If not, how am I supposed to code this so dd1 has shape [2 3 1]? >> sd1 = reshape(1:12,[4,3,1]) sd1 = ...

7 years ago | 1 answer | 0

### 1

answerQuestion

Unexpected singleton dimension removal

When I create a three dimensional array and assign it to an undefined array, the assignment does not behave as I expect if the ...

8 years ago | 2 answers | 1

### 2

answersQuestion

Can I make exported functions list bigger?

In the library version of deploytool, 2013b, the exported functions appear in a tiny little list, even though the 'files require...

8 years ago | 0 answers | 0

### 0

answersSolved

Extract leading non-zero digit

<http://en.wikipedia.org/wiki/Benford%27s_law Benford's Law> states that the distribution of leading digits is not random. This...

9 years ago

Solved

Make a Palindrome Number

Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...

9 years ago

Solved

Which doors are open?

There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...

9 years ago

Solved

Trimming Spaces

Given a string, remove all leading and trailing spaces (where space is defined as ASCII 32). Input a = ' singular value deco...

9 years ago

Solved

Return a list sorted by number of occurrences

Given a vector x, return a vector y of the unique values in x sorted by the number of occurrences in x. Ties are resolved by a ...

9 years ago

Solved

Balanced number

Given a positive integer find whether it is a balanced number. For a balanced number the sum of first half of digits is equal to...

9 years ago

Solved

Replace NaNs with the number that appears to its left in the row.

Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...

9 years ago

Solved

Find the longest sequence of 1's in a binary sequence.

Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

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

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

9 years ago

Solved

Target sorting

Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...

9 years ago

Solved

Summing digits

Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

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

9 years ago

Solved

Remove any row in which a NaN appears

Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

9 years ago

Solved

Fibonacci sequence

Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

9 years ago

Solved

Determine whether a vector is monotonically increasing

Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

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

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

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

9 years ago

Question

Compiled program won't run, win7 win8 64 bit

I have a compiled matlab application with GUI that I have regularly distributed when built with the 32 bit MCR. I recently compi...

9 years ago | 0 answers | 0

### 0

answersQuestion

Add files/folders in compiler

When I switched from 2012a to 2012b, the compiled program was no longer able to find files that I added using the 'Add files/fol...

9 years ago | 0 answers | 0

### 0

answersQuestion

Sum of empty matrix

The sum of an empty matrix does not always follow the rule 'sum(empty) = 0'. What's up with this? >> sum(ones(1,0)) ans = ...

10 years ago | 2 answers | 3