Community Profile

photo

Michael Costa


Last seen: plus d'un an il y a Actif depuis 2020

Statistiques

All
  • Solver
  • Thankful Level 2
  • Thankful Level 1

Afficher les badges

Content Feed

Afficher par

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

Question


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

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


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

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


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

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


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

presque 3 ans il y a | 2 réponses | 0

2

réponses

Question


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

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 3 ans il y a | 1 réponse | 0

1

réponse