I'm trying to evaluate a system, that depends on two variables, in a specific set of values. I will write an example, but my system is more complicated.
H = {{x^2, y}, {y^2, x}};
{val, vect} = Eigensystem[H];
I select an eigenvector
b = vect[[1]];
Then I write new variables in terms of the eigenvector elements
A = b[[1]];
B = b[[2]];
Finally, a new matrix is built.
M = {{A, B}, {A*A, B}};
x and y must be evaluate for the following list of data:
x={1,2,3,4};
y={0,1,2,5};
The thing is that I need to find the matrix M for each pair of coordinates [x,y]:
{{1,0},{2,1},{3,2},{4,5}}
with the help of a loop, for example Do. This, because my system is more complicated and I can not do it manually (It will take me a lot of time). I was trying to use the loop Do with the iterator Thread, nonetheless I don´t know if this is possible .
I'm new using Mathematica. I really don't understand why this is happening. Some of you guys can help me? Thank you.