Community Profile

# Michael Costa

Last seen: 6 Monate vor Aktiv seit 2020

#### Statistics

All

Abzeichen anzeigen

#### Content Feed

Anzeigen nach

Gelöst

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

6 Monate vor

Gelöst

Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

6 Monate vor

Frage

Read matrices that are separated by underscores in a text file.
I have a large text file that has two header lines followed by a long list of 3x3 matrices that are separated from one another b...

mehr als ein Jahr vor | 1 Antwort | 0

### 1

Antwort

Frage

Comparing and removing rows of an array that are within 5% of each other
I have an array which is ~30 million x 14. It is sorted in ascending order of the first element of each row. I am trying to comp...

mehr als ein Jahr vor | 1 Antwort | 0

### 1

Antwort

Frage

Trouble rotating a matrix using rotate
I have 3x3 rotation matrices that I am trying to rotate about specific axes and angles. When I try to rotate them using rotate,...

fast 2 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

Getting a new rotation matrix from an existing one by rotating an angle about a certain axis
I have a large set of rotation matrices from which I am trying to generate another set of rotation matrices by rotating the exis...

fast 2 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

Trying to build a new nx4 array from an existing nx4 array using logical values
I have a large nx4 array of quaternions (quatAB). I also have an nx1 array of energies (en) associated with the quaternions i.e....

fast 2 Jahre vor | 2 Antworten | 0

### 2

Antworten

Frage

Trying to build an array of row vectors such that every possible combination of the 3 vector components is included
Take a vector [i j k]. I want to build an array of such vectors, with each element ranging from 1:20, such that every possible c...

fast 2 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

Trying to build an 11x9 matrix from another 11x9 matrix and other elements
I am writing a program that compares different heat exchangers in order to select the best one for the application. I have succe...

mehr als 2 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

Trying to create a matrix by nesting a for loop in another for loop
I am trying to create a nx9 matrix by nesting a for loop in another for loop, where n is the number of iterations of the first f...

mehr als 2 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

Trying to Loop through different values of two matrixes simultaneously
I have a program that calculates the grain boundary energy (single output) given inputs of two 3 by 3 matrices, let's call them ...

mehr als 2 Jahre vor | 1 Antwort | 0

Antwort