Community Profile

# Gabriel Stanley

Last seen: 1 day ago Active since 2021

#### Content Feed

View by

Question

Element-wise set operations
Given twovectors A & B, I'm trying to figure out how to get a numel(A)-by-numel(B) logical array C wherein C(i) is the result of...

4 days ago | 1 answer | 0

### 1

Question

Use array values as assignment indecis
A = N-by-2 array, wherein A(:,1)<A(:,2) B = M-by-2 array, wherein B(:,1)<B(:,2) A and B are essentially time stamps. C = uniq...

13 days ago | 1 answer | 1

### 1

Question

Axes not reconizing figure handle
So I'm trying to setup a plotting function that will not overwrite any existing plots, and to predefine the values of certain pr...

2 months ago | 2 answers | 0

### 2

Question

How to treat select elements from within multiple cells as a single vector
What is the proper syntax for this indexing?: ContainerArray = cell(13,9); [ContainerAray{:,:}] = deal(rand(1,6)) DesiredVect...

2 months ago | 1 answer | 0

### 1

Question

Efficient generation of high-density graphics
I have a two large arrays that I wish to graph (for each interation of a loop within a function, so there will be alot of these ...

2 months ago | 0 answers | 0

### 0

Question

Create and save figure without drawing
I would like to create figures within a script without actually drawing them, on the assumption that this will save time, RAM, a...

2 months ago | 1 answer | 0

### 1

Question

Relative occurance of intersect values
Is there a way to vectorize the below, and/or a better way to go about it? A = %some set of numbers B = %another set of number...

3 months ago | 1 answer | 0

### 1

Question

Vectorized Data Extraction from Cell Array
I have a Nx1 cell array wherein each cell is a #x2 double array (i.e. each array within the cell is of variable length). CellArr...

3 months ago | 0 answers | 0

### 0

Question

Converting rough strings to exact strings
I have a string array of filenames which are names in an semi-consistent manner, e.g.: AllFiles AllFiles = 4x1 string ar...

3 months ago | 1 answer | 0

### 1

Question

Grouping multi-variable data points
I have three different data sources, of increasing generality. Group1 is a bunch of 2-value data points, Group2 is a good estima...

4 months ago | 0 answers | 0

### 0

Question

Extract data from csv with header ond footer
I have a set of csv files which have non-comma-delimited header and footer text (corporate boilerplate). The footer text seems t...

6 months ago | 2 answers | 0

### 2

Question

Comparing two differently-sized arrays
A'ight, I'm throwing in the towel. I have two different arrays, which are indexed by time. Each element of both arrays has two t...

10 months ago | 1 answer | 0

### 1

Question

Matrix math with Datetime arrays
I have a function for determining the element in Array 1 which is closest to a given element in Array 2, developed form this que...

1 year ago | 2 answers | 0

### 2

Question

scatter not ploting matrix
So the documentation for scatter explicitly states it can accept matrix inputs for Y, however when I try to do this matlab rejec...

1 year ago | 1 answer | 0

### 1

Question

Nested struct arrays with variable format
What is the syntax for creating a nested struct array with the following format? Varibale2_Name = struct('FieldName1',cell(Vari...

1 year ago | 1 answer | 0

### 1

Question

Determine percent of array elements which meet condition
How can I check if a certain percentage of the values in an array meet a condition, e.g. are X% of the values of a given logical...

1 year ago | 1 answer | 0

### 1

Question

Formating all values of a structure field
Is there a syntax for applying a format to all vlues of a given field in a structure array(without a loop)? E.g. I have a struct...

1 year ago | 1 answer | 0

### 1

Question

Converting Struct field to array
I have an n-value structure array with multiple fields, and want to extract a specific field (all values thereof are (1x4) singl...

1 year ago | 2 answers | 1