New answers tagged linear-algebra
1
vote
Find Elementary Matrices that produce RREF
The following answer is a contribution to enrich Nasser's code a little more:
...
0
votes
Eigenvectors are divided by zero depending on evaluation, 6x6 matrix
Eigenvectors can be expanded by multiplying with an arbitrary number. So why not just multiply each eigenvector with the product of the denominators of its components?
...
0
votes
1
vote
A simpler way of identifying which elements of Tuples[{0,1,2,3},6] multiply with each of my codewords to give zero?
This answer works over finite fields (package already established and GF(4) already established, not included in code below), however, I think you would just need to use ...
1
vote
Eigenvectors are divided by zero depending on evaluation, 6x6 matrix
This is just an application of answer posted here.
...
2
votes
Eigenvectors are divided by zero depending on evaluation, 4x4 matrix
As you set the limit of b->0, some components will approach infinity, causing inconvenience. Fortunately, as we are dealing with eigenvectors, we can scale them ...
4
votes
Eigenvectors are divided by zero depending on evaluation, 6x6 matrix
This is not an answer but too long for a comment. I can try to explain why you might not want to go the route you seem to be taking.
First observe that, independent of the parameters, 0 is an ...
4
votes
Accepted
How to create a vector as a tensor object for different euclidean bases?
We name "global" the built in basis. Assume then that 2 arbitrary basis are stored column wise in the following matrices:
...
3
votes
Is there a better way to calculate the number of codewords of weight $i$ in a list of codewords?
I cannot comment on the nice pieces of Mathematica code suggested by the other answerers, but as a (former) coding theorist I want to remark that people working in this area often use a generating ...
2
votes
Accepted
Is there a better way to calculate the number of codewords of weight $i$ in a list of codewords?
Using GroupBy:
codewords = {{0, 0, 0, 0}, {0, 0, 0, 1}, {0, 0, 1, 0}, {0, 0, 1, 1}};
GroupBy[codewords, Total, Length]
<|0 -...
1
vote
Is there a better way to calculate the number of codewords of weight $i$ in a list of codewords?
Given
codewords = {{0, 0, 0, 0}, {0, 0, 0, 1}, {0, 0, 1, 0}, {0, 0, 1, 1}}
and assuming that all letters are either 0 or 1, you could do this:
...
2
votes
Is there a better way to calculate the number of codewords of weight $i$ in a list of codewords?
codewords = {{0, 0, 0, 0}, {1, 0, 0, 0}, {0, 1, 0, 0}, {1, 1, 0, 0}}
a = Count[1] /@ codewords
{0, 1, 1, 2}
b = Counts @ a
&...
3
votes
Eigenvectors are divided by zero depending on evaluation, 6x6 matrix
This is too long for a comment, but not quite a full solution, since it would require tweaking for the particular problem at hand. But I can at least illustrate a method of fixing this issue that ...
5
votes
Eigenvectors are divided by zero depending on evaluation, 4x4 matrix
You have to use FullSimplify:
...
4
votes
How to write function series in Mathematica?
I am assuming $\otimes$ means normal matrix multiplication. In that case
...
Top 50 recent answers are included
Related Tags
linear-algebra × 1578matrix × 800
equation-solving × 204
eigenvalues × 157
performance-tuning × 104
numerics × 85
list-manipulation × 76
symbolic × 69
sparse-arrays × 67
mathematical-optimization × 64
plotting × 59
vector × 50
tensors × 47
differential-equations × 36
calculus-and-analysis × 36
algebraic-manipulation × 33
functions × 32
polynomials × 31
simplifying-expressions × 30
bugs × 26
inverse × 25
function-construction × 22
complex × 21
warning-messages × 20
implementation-details × 20