Community Profile

photo

Kevin Claytor


Attivo dal 2012

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

Statistiche

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

Visualizza badge

Content Feed

Visto da

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

quasi 8 anni fa | 1

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

circa 8 anni fa | 0

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

circa 8 anni fa | 0

| accettato

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

circa 8 anni fa | 0

| accettato

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

circa 8 anni fa | 0

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

circa 8 anni fa | 0

| accettato

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

circa 8 anni fa | 0

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

circa 8 anni fa | 0

| accettato

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

circa 8 anni fa | 1

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

circa 8 anni fa | 0

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

circa 8 anni fa | 1

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

oltre 8 anni fa | 0

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

circa 9 anni fa | 0

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

circa 9 anni fa | 0

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

| accettato

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 1

Domanda


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

oltre 9 anni fa | 0 risposte | 0

0

risposte

Risposto
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)

quasi 10 anni fa | 0

| accettato

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

quasi 10 anni fa | 0

| accettato

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

quasi 10 anni fa | 1

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

quasi 10 anni fa | 0

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

quasi 10 anni fa | 1

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

circa 10 anni fa | 1

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

circa 10 anni fa | 0

| accettato

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

circa 10 anni fa | 0

Risposto
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); ...

circa 10 anni fa | 1

| accettato

Carica altro