Community Profile

Sean Larkin


31 total contributions since 2007

Contact

Contributions in
View by

Responded


Re: Why is job submit time code length dependent?
Thanks for the reply. I found this out by examining the job object and noticing the autoattachedfilelist. When I set the 'Auto...

3 years ago | 2297 views

Posted


Why is job submit time code length dependent?
I have set up a test program to evaluate the batch job/task capability of the PCT. I set it up to run using this: parallel.defa...

3 years ago | 2297 views

Question


Why is job submit time code dependent?
I have set up a test program to evaluate the batch job/task capability of the PCT. I set it up to run using this: parall...

3 years ago | 0 Answers | 0

0

answers

Posted


Timer object for multi-threading
Is it possible to use a timer object to achieve multi-threading? For example: to = timer('TimerFcn',my_fcn); start(to); for n...

6 years ago | 1573 views

Responded


Re: parfor reduction variable identified as temp variable
So I just notced sonething else about calling a function using a reduction variable inside a parfor loop. It appears that the n...

6 years ago | 3502 views

Posted


parfor reduction variable identified as temp variable
I'm trying to run a parfor loop with a reduction variable. The reduction is performed inside a predefined function, therefore I...

6 years ago | 3502 views

Responded


Re: Call to mclInitializeApplication in MCR v713
By way of MATLAB's technical support team I was made aware of a workaround for this problem. The function mclInitiaizeApplicati...

6 years ago | 7521 views

Posted


Call to mclInitializeApplication in MCR v713
I created a shared C library using the deploytool, which I call from a C# project. I created this using MCR v77 and everything ...

6 years ago | 7521 views

Responded


Re: Array Conversion
how about this: % input = 2D logical array(800x10) out = zeros(100,10); for n = 1:100 inds = n-1*(8) + (1:8); out(n,1:10) = sum(...

7 years ago | 985 views

Responded


Re: How to eliminate specific components??
Or you could do: transitions = sum(abs(diff(A))); which is equivalent to: A_diff = A(1:end-1) - A(2:end); transitions = sum(abs...

7 years ago | 1576 views

Responded


Re: Finding Fourier coefficients and the series in Matlab
I pretty sure there isn't a MATLAB function that does this. You're going to have to solve for these in a for-loop using the Fou...

7 years ago | 24459 views

Responded


Re: image to binary
WHAT DOES THAT MEAN???????????????????????????? No wonder no one answered! example: image = rand(M,N); % this is an MxN image...

7 years ago | 794 views

Responded


Re: Simple for loop labels
I need more info. Are q1,v1,a1 vectors, i.e. are they are single scalar value or an array of vales like: a1 = [1 2 3 4 5]; ? ...

7 years ago | 1383 views

Posted


fmincon with constraints dependent upon each other
I am using fmincon to fit a gaussian to 1D data using a MLE cost function. I constrain the 3 parameters of the gauss model (i.e...

7 years ago | 2303 views

Responded


Re: fminspleas with lsqnonlin
Ok, I just found the pleas code and it appears I can just edit that code. I think I just need to add the weights and the bounds...

7 years ago | 3340 views

Responded


Re: fminspleas with lsqnonlin
Thanks for the response John. I am in fact using constraints. I' haven't looked at the pleas code. You're saying you can't u...

7 years ago | 3340 views

Posted


fminspleas with lsqnonlin
I am using fminspleas to fit a skew normal distribution to 1-D data and it works very well. Now that it works I would like to s...

7 years ago | 3340 views

Responded


Re: urgent need favour on radon function
The simplest thing you could do is to just resample the matlab produced sinogram or resample your PET sinogram. This can be don...

7 years ago | 5462 views

Responded


Re: urgent need favour on radon function
This is due to the way MATLAB samples the image. Basically its array of 'detectors' that would be analogous to X-ray detectors ...

7 years ago | 5462 views

Responded


Re: How I can find the slope of a tangent line and plot that tangent line in matlab
How about: Slope = 3*A*location^2+...; Not sure I understand the question. If you just want the slope at a single point it's t...

8 years ago | 23706 views

Posted


Adding custom icons to GUI toolbar
I am trying to add custom made icons to my GUI toolbar, but am having problems with the dimensions. I created the custom icon u...

8 years ago | 2748 views

Posted


using TeX characters in a GUI text box
I am trying to use a TeX character such as the Greek letter mu in a GUI textbox, but I cannot get this to work. If I try to set...

8 years ago | 1859 views

Responded


Re: Image Variance, Help !
If the value is 255 then anything added will be clipped off at 255. Cast your image data type to 'single' or something else wit...

8 years ago | 2988 views

Responded


Re: MATLAB Beginner Question
While I'm unsure whether or not there is a Matlab function that can do this, I would just use the nearest neighbor values of the...

8 years ago | 2506 views

Responded


Re: MATLAB Beginner Question
I think something as simple as 'interp2' is the function you're looking for.

8 years ago | 2506 views

Responded


Re: Debug C++ .dll from MATLAB GUI
I tried starting MATLAB from the debugger, but when control is handed over to the C++ dll from MATLAB I get this error: Debug A...

8 years ago | 5150 views

Posted


Debug C++ .dll from MATLAB GUI
I have a C++ .dll file compiled and built in C++ from source files. I call this .dll file from a MATLAB GUI with the calllib fu...

8 years ago | 5150 views

Posted


busy at end of callback function
I am working with a gui that has a pushbutton callback function. Within this function I call another function that performs a n...

8 years ago | 1189 views

Posted


Using 'save' in function form to save field of a structure
I'm trying to use the function form of 'save' to write a field of a structure to a file. The field I'm saving is a 1x4096 struc...

8 years ago | 3148 views

Posted


C++/MATLAB Progress Bar
I am calling a lengthy C++ program(dll) from MATLAB with the calllib function. I would like to display a dialog box with a prog...

8 years ago | 1778 views

Load more