Community Profile

photo

Kevin Claytor


79 total contributions since 2012

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

Contact

Kevin Claytor's Badges

  • 3 Month Streak
  • Revival Level 1
  • Knowledgeable Level 3
  • First Answer

View details...

Contributions in
View by

Submitted


Simple Anaglyph
Simple anaglyph plotting

mehr als 2 Jahre ago | 0 downloads |

Thumbnail

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

mehr als 3 Jahre ago | 0

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

mehr als 3 Jahre 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...

mehr als 3 Jahre 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...

mehr als 3 Jahre ago | 0

| accepted

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

mehr als 3 Jahre 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...

mehr als 3 Jahre 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 ...

mehr als 3 Jahre 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...

mehr als 3 Jahre 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...

mehr als 3 Jahre 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.

mehr als 3 Jahre 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...

mehr als 3 Jahre 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) ...

fast 4 Jahre 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...

mehr als 4 Jahre 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 ...

mehr als 4 Jahre 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...

fast 5 Jahre 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)...

fast 5 Jahre 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...

fast 5 Jahre 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...

fast 5 Jahre ago | 0

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

fast 5 Jahre 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...

etwa 5 Jahre ago | 0

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

etwa 5 Jahre 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)

etwa 5 Jahre 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...

etwa 5 Jahre 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...

etwa 5 Jahre 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...

etwa 5 Jahre 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...

mehr als 5 Jahre 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} ...

mehr als 5 Jahre 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 ...

mehr als 5 Jahre 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...

mehr als 5 Jahre ago | 0

Load more