photo

Kevin Claytor


Active since 2012

Followers: 0   Following: 0

Message

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

Statistics

All
  • Personal Best Downloads Level 1
  • First Review
  • GitHub Submissions Level 1
  • First Submission
  • 3 Month Streak
  • Revival Level 1
  • Knowledgeable Level 4
  • First Answer

View badges

Feeds

View by

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

8 years ago | 1

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

8 years ago | 0

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

8 years ago | 0

| accepted

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

8 years ago | 0

| accepted

Answered
How can I get the XMinorTick as a numerical value?
with ax = your axes object ax.XAxis.MinorTickValues

8 years ago | 0

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

8 years ago | 0

| accepted

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

8 years ago | 0

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

8 years ago | 0

| accepted

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

8 years ago | 1

Answered
how to calculate the intersection area of two ellipses
Here is an <http://arxiv.org/abs/1106.3787 arxiv paper> on ellipse intersection algorithms.

9 years ago | 0

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

9 years ago | 1

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

9 years ago | 0

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

9 years ago | 0

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

9 years ago | 0

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

10 years ago | 0

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

10 years ago | 0

| accepted

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

10 years ago | 0

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

10 years ago | 0

Answered
substituting value in matrix does not work for some reason
Logical indexing makes this much easier; B(A==NaN) = NaN;

10 years ago | 0

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

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

10 years ago | 0 answers | 0

0

answers

Answered
how do I insert a string var in title command using LaTeX/TeX
mytitle = sprintf('\\color{red}%d \\color{blue}%f',5,pi); title(mytitle)

10 years ago | 0

| accepted

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

10 years ago | 0

| accepted

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

10 years ago | 1

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

10 years ago | 0

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

10 years ago | 1

Answered
[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} ...

10 years ago | 1

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

10 years ago | 0

| accepted

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

10 years ago | 0

Answered
Saving a figure with a textbox
Why not use text? It can still appear outside the axes; x = linspace(0,2*pi); y = sin(x); h = figure; plot(x,y); ...

10 years ago | 1

| accepted

Load more