# Eric Sampson

### Seagate Technology LLC

Followers: 0 Following: 0

Professional Interests: Signal processing

**Statistics**

RANK**1,669**

of 294,481

REPUTATION**39**

CONTRIBUTIONS

**19** Questions

**8** Answers

ANSWER ACCEPTANCE **
68.42%
**

VOTES RECEIVED**22**

RANK

of 20,118

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 151,773

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

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

9 years ago | 1 answer | 0

### 1

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

10 years ago | 0

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

10 years ago | 6

| accepted

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

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

10 years ago | 1 answer | 0

### 1

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

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

10 years ago | 2 answers | 0

### 2

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

10 years ago | 1

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

11 years ago | 0

Arrayfun scalar expansion (non-uniform output)

Use a for loop instead of arrayfun?

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

11 years ago | 1 answer | 1

### 1

answerQuestion

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

11 years ago | 1 answer | 0

### 1

answerQuestion

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?

11 years ago | 2 answers | 2

### 2

answersQuestion

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

11 years ago | 2 answers | 0

### 2

answersQuestion

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

11 years ago | 1 answer | 3

### 1

answerQuestion

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

11 years ago | 1 answer | 0

### 1

answerQuestion

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

11 years ago | 2 answers | 1

### 2

answersQuestion

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

11 years ago | 2 answers | 0

### 2

answersQuestion

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

11 years ago | 3 answers | 1

### 3

answersQuestion

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

11 years ago | 2 answers | 0

### 2

answersQuestion

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

11 years ago | 1 answer | 0

### 1

answerconditional array extraction based on control array

If I understand your question correctly, try this: z=y(intersect(x,c));

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

11 years ago | 2 answers | 0

### 2

answersQuestion

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

11 years ago | 5 answers | 4

### 5

answersQuestion

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

11 years ago | 3 answers | 2

### 3

answersQuestion

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

11 years ago | 2 answers | 0

### 2

answersQuestion

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

11 years ago | 2 answers | 0