Community Profile

# Sean

### Karl Storz Endovision Inc

35 total contributions since 2011

View details...

Contributions in
View by

Question

Excessive median processing time
I have found that taking the median with respect to time of a group of image frames can take excessively long and is dependent o...

8 years ago | 1 answer | 0

### 1

Solved

Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

8 years ago

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

8 years ago

Question

Processing all subsets of a larger matrix
I have data in the form of MxNx3xK or MxNx3xKxJ types of matrices. If I wanted to use a function that takes an array of 3 value...

8 years ago | 1 answer | 0

### 1

How to check if data is normally distributed
Hello Nancy, You cannot tell from only 2 samples whether they are normally distributed or not. If you have a larger sample s...

8 years ago | 1

Plotting a polynomial that has fractions
This question doesn't clearly define your problem, so I or others will have a hard time answering you definitively. # If you ...

8 years ago | 0

| accepted

Question

I have a set of code that does the following: # Load a set of data # Display the data # Wait for the operator to make a jud...

8 years ago | 1 answer | 0

### 1

callback function handle syntax inside objects?
I have found a way to accomplish what I was trying to accomplish, although it isn't by using function handles. In case anyone e...

8 years ago | 0

Question

callback function handle syntax inside objects?
I have an object that generates a gui and controls some external equipment. I am trying to set things up so that a particular b...

8 years ago | 1 answer | 1

### 1

Question

General Handle Removal
I am looking for a better way to close out/clean up handle references. Specifically: 1) 'Clear' removes the variable holding...

8 years ago | 1 answer | 0

### 1

Question

How can I trigger activity in a top level gui from a timer in a lower level object?
I have an object that is polling status from a piece of equipment at regular intervals. It is doing this by starting a timer at...

8 years ago | 1 answer | 0

### 1

How to compute RMS of three-phase voltage
I looked at the article you referenced. They appear to be feeding four parameters into a neural network: voltage@f1, current@f1...

8 years ago | 0

Question

Timer precedence during called functions
Hello, I have a timer that is pulling in video frames as a preview in a GUI. Unfortunately, I have found that if I call othe...

8 years ago | 3 answers | 2

### 3

Question

Timer function in OOP object constructor not working as expected
Hello, I have some oop code that talks to an instrument over a serial port. I want to continually monitor for and handle mes...

9 years ago | 2 answers | 0

### 2

Question

Compiled matlab executables not working correctly with java archives
I have several programs that I wrote in matlab that use external custom java archives. The programs work fine on my computer (w...

9 years ago | 1 answer | 0

### 1

Question

3D ellipsoid closest fit estimation (as a way to characterize lens rolloff)
I am currently working with a number of lenses and need to be able to calculate and correct for the rolloff in an arbitrary part...

9 years ago | 1 answer | 0

### 1

creating a histogram in a specific way
Are you trying to bin on a log scale or are you trying to bin to arbitrary values? If you are trying to do the first, you m...

9 years ago | 0

Question

How can I remove a variable from the parent workspace while a function is using it?
I work with fairly large datasets, so the fact that they get duplicated when a function accepts them as an input can be a proble...

9 years ago | 2 answers | 0

### 2

Question

Apparent imshow memory leak?
Hello, I have some code that captures and displays images repeatedly for some time, and I noticed that it continually eats up m...

9 years ago | 3 answers | 1

### 3

Question

GUI operations on matlab objects (non-GUI)
I am having difficulty updating an object that I am using in a GUI callback. I am sure there must be a good way around it that ...

9 years ago | 2 answers | 0

### 2

Question

Issues with callbacks and large handle structures?
I am working on a gui, and encountered a strange problem. When I pass 'h' to a uicontrol callback and put a breakpoint in the c...

9 years ago | 1 answer | 0

### 1

Failure to release memory when releasing java objects
After much investigating: Some of the memory can not be freed up because it is allocated to external .dlls that don't bother ...

9 years ago | 0

| accepted

Question

Failure to release memory when releasing java objects
(EDITTED... PLEASE SEE COMMENT FOR UPDATED QUESTION) I have a couple of java .jars that I am using to control a camera and fram...

9 years ago | 2 answers | 0

### 2

Question

Can class/object parameters store structs? If not, is there an equivalent?
I am trying to usefully name internal state variables in a class I am writing (disclaimer: I started doing objected oriented cod...

9 years ago | 2 answers | 0

### 2

Simulating transfer functions in MATLAB?
Hello Jesse, Are the lines you are looking at linear? If they are sampled at different intervals/points, you could still do ...

9 years ago | 0

Question

Typecasting higher dimension matrices
I recently found (to my chagrin) that the typecast function only works on scalars and 1D matrices (i.e. arrays). Does anyon...

9 years ago | 2 answers | 0

### 2

Question

Java .dll library path issues
I am trying to use a java archive(.jar) which makes use of a number of external .dlls to control a PCI video framegrabber card. ...

9 years ago | 1 answer | 0

### 1

image processing
Ganesh, If you are trying to observe the change in each parameter over time (i.e. from image 1 to image 100), just use a for ...

9 years ago | 0

| accepted

Question

How can I detect islands in a contour plot?
I am trying to detect abnormalities in data with respect to two variables. (Imagine an smoothly varying image where you are try...

9 years ago | 1 answer | 1

### 1

Question

Inline Indexing to Dynamic Field Names
How can I integrate and *index* function output into dynamic field names? Example: Say function y=fun(x) *outputs an array of...

9 years ago | 2 answers | 0