Community Profile

# Gabriel Stanley

Last seen: ungefär 2 månader ago Active since 2021

#### Content Feed

View by

Question

deal array contents into cell arrays
I'm trying to figure out how to assign the values of an array to targeted cell arrays. E.g. I have a 16x6 cell array, and I want...

### 1

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

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

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

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

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

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

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

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

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

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

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

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

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

ungefär ett år 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...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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...

mer än ett år 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...

mer än ett år ago | 2 answers | 1