The matrix Omega is actually the matrix omega1. How can match the elements of the two matrices?
Do you have other ways to solve this problem?
Hi Jiao,
What do you mean by
How can match the elements of the two matrices?
Compare them? Create them in a simpler way? ...?
No, I mean to assign the corresponding values of matrix [omega] to the matrix [omega1].
The row / column indices are not changed in the explicit assignment, so what is wrong with
ω1 = ω
When I copy/paste and run the code I get different values
ω (* {{0, 0.0325345, 0.0325345}, {0.0290918, 0, 0.0290918}, {0.0256933, 0.0256933, 0}} *)