Matrix Array

Hello
I want to create an "array of matrix" in IGOR Pro, those matrices has complex data.

As an example.

Variable /C i= cmplx (0,1)

if MatA ={{x-i*y, x+i*y}, {a-i*b, a+i*b}}
if Mat B={{a+i*b, a-i*b}, {x+i*y, x-i*y}}
MatrixArray = {MatA , MatB}

Thank You
Duli


I could do that in MATLAB
As an example;

N=[1, a-i*b, c-i*d, e-i*f, g-i*h, 1];

for n=1:5;
r(n)=N(n)-N(n+1);

I(n)={[(1/(1+r(n))) (r(n)/(1+r(n))) ; (r(n)/(1+r(n))) (1/(1+r(n)))]};
//This is the example, Here I(n) is a 2x2 matrix and I is the matrix array

end


Thank You
Duli
How about a wave containing wave references? Supported in Igor 6.10 or later.

Try DisplayHelpTopic "Wave References[Wave Reference Waves]" for more information.