Community Profile

photo

deathtime


Last seen: 7 Tage vor Aktiv seit 2022

Statistiken

  • Thankful Level 3

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


How do I insert a substructure within an existing structure at a specific index
Let's say I have an existing structure: existingStruct.a.val1 = 1; existingStruct.a.val2 = 2; existingStruct.b.val1 = 3; exi...

24 Tage vor | 1 Antwort | 0

1

Antwort

Frage


Using rdivide for multidimensional matrices
I have a 5 by 10 by 3 force matrix: F = rand(5, 10, 3); The first dimension represents grid points on a mesh (5 mesh points). ...

7 Monate vor | 3 Antworten | 0

3

Antworten

Frage


Use Indexing for more than 1 dimension of array simultaneously
I have a 10 by 3 matrix: matrix = rand(10, 3); I have an indexing array which selects a column number for each row: idx = [1;...

8 Monate vor | 3 Antworten | 0

3

Antworten

Frage


Generate 3D Surface Mesh Using Elemental Connectivity Data
I have a FEM file, which represents the surface mesh of a 3D object. This surface mesh contains triangular and quad elements - t...

8 Monate vor | 1 Antwort | 0

1

Antwort

Frage


Issues with gpuArray Interpn
I have a series of 3 2D datasets (each one is 3x3 array): f = rand(3, 3, 3); In the above, the third dimension represents the ...

10 Monate vor | 0 Antworten | 0

0

Antworten

Frage


Vectorize a series of interpn calculations with GPU
Let's say I have a cell array with equal sized (but different) 4D datasets: nPoints = 5; dataCell = cell(1,nPoints); for i...

10 Monate vor | 0 Antworten | 0

0

Antworten

Frage


How to avoid linear indexing in operations involving matrices of different sizes
If I carry out an operation of matrices with different sizes using indexing, the end result tends to be a column matrix with lin...

11 Monate vor | 2 Antworten | 0

2

Antworten

Frage


Fastest and Most Memory Efficient Way to Generate Structure from Matrix of Data
I have a matrix of numerical data: loads(ncases, ngridpoints) - where ncases relates to the number of independent variable (M, a...

11 Monate vor | 0 Antworten | 0

0

Antworten

Frage


Efficient way to convert m by n array into a single column table with each row containing n by 1 array?
Let's say I have a 4 by 3 array: A = [1 3 5; 2 6 7; 5 8 9; 3 2 1]; What is the fastest/most memory efficient way of converting...

11 Monate vor | 1 Antwort | 0

1

Antwort

Frage


Is it possible to insert multidimensional arrays within table entries?
For example: I want to create a table with 5 rows and 2 columns. The first column is just 5 rows of doubles. Can I insert a 3x3x...

12 Monate vor | 1 Antwort | 0

1

Antwort

Frage


What is the most efficient way to "reverse" interpolate a 3D array?
I have a 3-D array of data: it contains Fz values for different values of alpha angle, beta angle and Mach number. I would lik...

etwa ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


Fastest way to cross reference two tables
I have data in table form read in from two different files: "Grid points" and "Forces". Each row of "Grid points" contains 4 c...

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


How do I extract fixed-width columns from a file that includes empty spaces?
I have a file called gridpoints.txt. It is structured as follows: $$ GRID Data GRID 100 6956.519 492.02359.5...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


How do I split a string using a only *single* whitespace delimiter so any multiple whitespaces are also "split"?
I am aware of how to use strsplit to split a string using whitespace delimiters. However, if there are multiple whitespaces betw...

fast 2 Jahre vor | 3 Antworten | 0

3

Antworten