# Kevin Claytor

Professional Interests: Imaging, image processing, physics, nmr, spectroscopy

**Statistics**

RANK**390**

of 276,286

REPUTATION**188**

CONTRIBUTIONS

**1** Question

**76** Answers

ANSWER ACCEPTANCE **
0.0%
**

VOTES RECEIVED**31**

RANK**3,544** of 18,597

REPUTATION**401**

AVERAGE RATING**0.00**

CONTRIBUTIONS**2** Files

DOWNLOADS **4**

ALL TIME DOWNLOADS**4012**

RANK

of 126,008

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

best way to dynamically update a line handles' XData and YData?

Using the HG2 dot notation may speed things up enough for you (see <http://undocumentedmatlab.com/blog/performance-accessing-han...

7 years ago | 1

tabulate() is not working properly

It sounds like you don't have the tabulate function. This is included with the stats + machine learining toolbox. Can you paste ...

7 years ago | 0

Index of element to remove exceeds matrix dimensions.

Because you're removing elements as you go, your array gets shorter, and your fixed index (1:7) can go out of bounds. This is...

7 years ago | 0

| accepted

How can I say if (A & B) or C in Matlab?

| operates elementwise on arrays. You might want to check the size of A, B, and C. _If_ then operates on the array (See @Stephen...

7 years ago | 0

| accepted

How can I get the XMinorTick as a numerical value?

with ax = your axes object ax.XAxis.MinorTickValues

7 years ago | 0

Displaying MATLAB output in linux terminal

Pardon my *nix ignorance, but doesn't the & command spin off the process in a new terminal? If so it's probably dumping the mess...

7 years ago | 0

| accepted

Trying to get matlab to edge detect in shadow area

Have you taken a look at the <http://www.mathworks.com/help/images/examples/correcting-nonuniform-illumination.html non-uniform ...

7 years ago | 0

User selects image in gui and selected image goes into axes??

The variable 'i' in your code is the filepath to the image, not the image itself, you still have to load the image: i = uig...

7 years ago | 0

| accepted

finding a changing dominant tone in a signal

Have you tried: Raw data -> BP filter -> Spectrogram -> peak finding You seem to have the parts for it, and I would expect...

7 years ago | 1

how to calculate the intersection area of two ellipses

Here is an <http://arxiv.org/abs/1106.3787 arxiv paper> on ellipse intersection algorithms.

7 years ago | 0

Algo for finding nearest coordinates of arbitrary point along complex 3D line?

Find the minimum squared distance between the point and the line: pointX = point(1); pointY = point(2); pointZ = poin...

7 years ago | 1

Reading in ascii files with white space as delimiter.

Import data seems to work pretty well (but doesn't directly get you the headers): importdata('radiosonde.ascii', ' ', 3) ...

7 years ago | 0

Problem trying to install raspberry support package

Looks like there's an <http://www.mathworks.com/matlabcentral/answers/182841-cannot-download-http-www-mathworks-com-supportpacka...

8 years ago | 0

Can I build an OCR engine from scratch using matlab?

There's no reason why you can't - just use Arabic characters as a training set for an existing OCR setup. I think the better ...

8 years ago | 0

Bining some data in 50 classes without knowing the limits

Sounds like you're trying to make a <http://www.mathworks.com/help/matlab/ref/histogram.html histogram> (hist in revisions prior...

8 years ago | 0

how to get back the rgb image from r g b component ?

Exactly the opposite of how you pulled out the data; im = imread(...); red = im(:,:,1); grn = im(:,:,2); blu = im(:,:,3)...

8 years ago | 0

| accepted

How to use accumarray?

You could use a <http://www.mathworks.com/help/matlab/matlab_prog/access-data-in-a-table.html Table> structure. First, I'd conve...

8 years ago | 0

Error with matrix dimensions

Let's take a look at the definition of; diffHist= zeros(numFrames,1); This is a [numFrames x 1] size array. Into this yo...

8 years ago | 0

substituting value in matrix does not work for some reason

Logical indexing makes this much easier; B(A==NaN) = NaN;

8 years ago | 0

Create a Table with column vectors

The table data type is R2013b and above. If you upgrade, you can do something like: volts = [1:100]'; current = sin(linspa...

8 years ago | 1

Question

Error using gop -> Error detected on worker N -> Error during serialization

I'm receiving an error running distributed code on a cluster; Error using gop (line 75) Error detected on worker 5. Error...

8 years ago | 0 answers | 0

### 0

answershow do I insert a string var in title command using LaTeX/TeX

mytitle = sprintf('\\color{red}%d \\color{blue}%f',5,pi); title(mytitle)

9 years ago | 0

| accepted

How to make 2 data sets the same size

Have a look at the resample function; >> help resample resample Change the sampling rate of a signal. Y = resam...

9 years ago | 0

| accepted

School may adopt Office365 and eliminate student user drives. Can students save to a cloud-based directory in MATLAB?

Why not? Dropbox just watches a local directory for changes. The only issue would be two copies of anything (Matlab, Excel, e...

9 years ago | 1

delete a subplot and renew plot

Better yet, update using handles: figure; f = 2*pi; x = linspace(1,100); y = sin(x/f); subplot(2,2,1) plot(x...

9 years ago | 0

Find summation of white pixel of detected rectangle from a binary iamge??

You're making this too complex. It's a binary image, just sum the values of your sub-image and divide by the # elements. Pseudoc...

9 years ago | 1

[HELP] How to seperate cell with values greater than 230 into new cell.

<http://www.mathworks.com/help/matlab/ref/cellfun.html cellfun> is great for operating on cells; v = {1,3,400, 3, 400, 5} ...

9 years ago | 1

Which loop to run in parallel if I have three of them?

It's going to depend. Specifically, where is the heavy lifting done? If you have code that runs fast on a single CPU, it may ...

9 years ago | 0

| accepted

Passing parameters throughout nested functions

Is this in a GUI? I'd have a look at guidata() and at get/setappdata, both of which help solve the problem of handling data in G...

9 years ago | 0