![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/13401957_1535580144324_DEF.jpg)
Michael Costa
Followers: 0 Following: 0
Feeds
已解决
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...
2 years 前
已解决
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...
2 years 前
提问
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...
3 years 前 | 1 个回答 | 0
1
个回答提问
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...
3 years 前 | 1 个回答 | 0
1
个回答提问
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,...
3 years 前 | 1 个回答 | 0
1
个回答提问
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...
3 years 前 | 1 个回答 | 0
1
个回答提问
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....
3 years 前 | 2 个回答 | 0
2
个回答提问
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...
3 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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...
4 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
4 years 前 | 1 个回答 | 0