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 1 year 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

14 downloads

3 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

Answered 1 year ago

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

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

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

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

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

Can you post the code to trapezes - the error message says the problem is in there, you have something like; function Itr=t...

That is strange... here's my fix; Go back to "Table Property Editor" -> Select "Show Names below as the column headers" Go...

function myfig = makefigure() % stuff myfig = figure(3); % stuff end and then myfig = makefigure(); ...

You may want to have a look at this file to see how they implement the rainflow method; http://www.mathworks.com/matlabcentral/f...

What are you trying to do; access a portion of BuyMatrix, or set BuyMatrix to be a matrix? The former would be accomplished with...

Load more