Community Profile

Gabriel Stanley

Last seen: 約2ヶ月 前 2021 年からアクティブ

バッジを表示

Content Feed

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

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

2ヶ月 前 | 1 件の回答 | 0

1

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

2ヶ月 前 | 1 件の回答 | 1

1

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

4ヶ月 前 | 2 件の回答 | 0

2

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

4ヶ月 前 | 1 件の回答 | 0

1

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

4ヶ月 前 | 0 件の回答 | 0

0

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

4ヶ月 前 | 1 件の回答 | 0

1

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

4ヶ月 前 | 1 件の回答 | 0

1

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

5ヶ月 前 | 0 件の回答 | 0

0

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

5ヶ月 前 | 1 件の回答 | 0

1

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

6ヶ月 前 | 0 件の回答 | 0

0

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

8ヶ月 前 | 2 件の回答 | 0

2

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

12ヶ月 前 | 1 件の回答 | 0

1

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年以上 前 | 2 件の回答 | 0

2

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年以上 前 | 1 件の回答 | 0

1

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年以上 前 | 1 件の回答 | 0

1

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年以上 前 | 1 件の回答 | 0

1

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年以上 前 | 1 件の回答 | 0

1

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年以上 前 | 2 件の回答 | 1

2

Populating an array with a vairable-output function
How can I concatenate the outputs of a function together, when the size of the output varies? E.g. fileBatch = {'File1','File2...

1年以上 前 | 1 件の回答 | 0