Community Profile

photo

Eric Sampson


Seagate Technology LLC

27 total contributions since 2013

Professional Interests: Signal processing

Contact

Eric Sampson's Badges

  • First Review
  • 3 Month Streak
  • Thankful Level 2
  • Knowledgeable Level 1
  • First Answer

View details...

Contributions in
View by

Question


Dealing with Change Notification Handle issues with M files on network shares - ideas?
Hi all, have any of you come up with solutions (either client or server settings) to the infamous "Warning: Could not get change...

4 years ago | 1 answer | 0

1

answer

Answered
Multithreaded sparse matrix multiplication?
I believe the sparse matrix code is implemented by a few specialized TMW engineers rather than an external library like BLAS/LAP...

5 years ago | 0

Answered
MATLAB R2014b Error on Startup
Try issuing this command (save your original PATH to a .mat file if you care about wanting to be able to recreate it): restor...

5 years ago | 5

| accepted

Answered
Where are the mathematics behind scatteredInterpolant documented
If you contact Support and ask very nicely, they might be able to provide information about this... I have vague recollections t...

5 years ago | 0

Question


How to generate square-ish rectangle dimensions for any specified area
Hi all, given an arbitrary positive integer N, how can I calculate two integer factors A and B subject to A*B = N with the restr...

5 years ago | 1 answer | 0

1

answer

Answered
Windows Custom Device Driver Control
Hi Tom, my initial thoughts would be to investigate one of the following: a) write a C/C++ dll API for your driver, and then ...

5 years ago | 1

| accepted

Question


Fast location of zero crossings with interpolation
Hi all, I've got data that looks like this: clean = sin(1:0.2:2e5); noise = -0.03 + (0.06).*rand(size(clean)); data =...

5 years ago | 2 answers | 0

2

answers

Answered
PARFOR behavior sensitive to comments???
Matt, what happens if you create the anonymous function inside the parfor loop? If that helps, but if in actual code you need to...

5 years ago | 1

Answered
Is there a way to make device memory persist between CUDA MEX calls
Matt, see if the methods discussed in the following thread could be adapted for your use: http://www.mathworks.com/matlabcentral...

6 years ago | 0

Answered
Arrayfun scalar expansion (non-uniform output)
Use a for loop instead of arrayfun?

6 years ago | 0

Question


value classes - do you use them? I must be doing something wrong...
So I can't really recall ever creating a value class, all mine seem to be handle classes. Is that the same as your experience? U...

6 years ago | 1 answer | 1

1

answer

Question


How to perform a 'chunked average', similar to a rolling average?
Hi, I don't know what the right terminology is, but I'd like to know if there is a nice vectorized syntax for calculating a 'chu...

6 years ago | 1 answer | 0

1

answer

Question


Are accumarray/cellfun/arrayfun/etc multithreaded?
As per the subject line, anyone know? If not, could this be done by TMW without a lot of effort?

6 years ago | 2 answers | 2

2

answers

Question


Conditional cumsum - how to create?
This is probably easy, but my brain isn't working today... How can you do the following operation in a vectorized way? I'd th...

6 years ago | 2 answers | 0

2

answers

Question


Generate a comma-separated list from a numeric array?
Is there a way to generate a comma-separated list from a numeric array without generating a temporary cell array? If not, would ...

6 years ago | 1 answer | 3

1

answer

Question


onCleanup - do different things based on how you entered it.
Hi, I've got a function where we want to run some code if there is an error, or a Ctl-C, but not if the function exits normally....

6 years ago | 1 answer | 0

1

answer

Question


Anyone figure out how to send code from FireFox/Chrome to MATLAB for evaluation?
In the MATLAB Help Browser, you can right-click a text selection and choose 'Evaluate Selection' to evaluate it in the MATLAB Co...

6 years ago | 2 answers | 1

2

answers

Question


Do you ever make use of non-uniform arrays of structures?
Loren explained in the following comment on her blog that certain vectorized struct assignment syntax is not currently allowed b...

6 years ago | 2 answers | 0

2

answers

Question


Using conditional breakpoints to print out value
Hi, I'm interested if it would be possible to use/abuse(?) conditional breakpoints to print out the value of a variable to the c...

6 years ago | 3 answers | 1

3

answers

Question


How to create variability charts?
I'm trying to find a way to recreate <http://www.jmp.com/support/help/images/Comparing_Multiple_Variables_4.png JMP-style variab...

6 years ago | 2 answers | 0

2

answers

Question


array of structures to cell array via comma-separated list
Suppose I have the following array of structs: data(1).f1 = 1; data(2).f1 = 2; data(1).f2 = 'foo'; data(2).f2 = 'b...

6 years ago | 1 answer | 0

1

answer

Answered
conditional array extraction based on control array
If I understand your question correctly, try this: z=y(intersect(x,c));

6 years ago | 0

Question


Strategies to store/load 'configuration' data
Hi, we often have the need to store/load configuration data, for hundreds of cases. Current practice is to store it in an M-file...

6 years ago | 2 answers | 0

2

answers

Question


Discussion about Answers & Votes
Hi all, a couple questions/thoughts for the community: 1) Would you like to be able to Accept multiple answers? I think this ...

7 years ago | 5 answers | 4

5

answers

Question


Make dataset arrays part of base MATLAB?
Hi all, I was wondering if anyone else wished that the Statistic Toolbox's dataset arrays were included in base MATLAB. They are...

7 years ago | 3 answers | 2

3

answers

Question


How to create a struct from a cell array of fieldnames and a cell array of values?
How can you take a cell array array of fieldnames and a cell array of values, and convert them into a structure without looping?...

7 years ago | 2 answers | 0

2

answers

Question


How to SAVE data to disk in a background thread?
Has anyone figured out a way to run the SAVE command in a background 'thread', so that MATLAB can keep on running code while the...

7 years ago | 2 answers | 0

2

answers