![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년 초과 전
문제를 풀었습니다
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년 초과 전
질문
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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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...
거의 4년 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 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년 초과 전 | 답변 수: 1 | 0