Community Profile

Contact

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

Top 1% contributor

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

0 Answers

0

Asked 2 years ago

Let's break it down into some steps. First consider the problem for a moment; We have the series U(n+1) = U(n)^2, U(1) = 0.5 ...

accepted

2

Answered 2 years ago

8 downloads

4 years ago

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

1

Here's what's going on - guidata updates the handles structure in the function it's called in, but the user function that calls ...

Answered 4 years ago

<http://www.mathworks.com/help/matlab/ref/dbstop.html dbstop> is the corresponding main matlab debugging command. There are also...

Just saw this in the FeX, it may solve your problem; <http://www.mathworks.com/matlabcentral/fileexchange/7943-freezecolors-u...

I think you really want the distMap output, which gives you the _distance_ to the nearest non-zero pixel. labelMask gives you...

A simple brute force numerical derivative would be find the change in x and divide by the change in t; dx = x(2:end) - x(1:...

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

Answered 7 months ago

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

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

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

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

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

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

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

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

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

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

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

It seems as though hist() prefers floating point values (single or double). Try; hist(double(R(:))) % Histogram of red chan...

Answered 3 years ago

thresh = 66; I(I < thresh) = 0; I(I > thresh) = 255;

Since I don't have your full code, I have made two assumptions: # I have changed the button's TAG to "button_capture" # Make...

1) Github hosts a large number of MATLAB projects, and would be a great place to start if you want to jump into something collab...

The filename needs to be a string. You can make a string with a variable value in it by using sprintf and providing the variable...

My guess would be that this is because MATLAB uses column-major order, you could simply transpose the matrix you are sending to ...

The Documentation has rather extensive help for file opening, reading and saving <http://www.mathworks.com/help/techdoc/ref/f16-...

I had the same problem as you when modifying comet3. I got the movie working, but the process eliminates the immeadiate tail of ...

<http://www.mathworks.com/help/techdoc/ref/importdata.html importdata> does a pretty good job of separating header from file inf...

Load more

Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a location from the following list:

See all countries