Ok, the problem has been solved
- I was confused by Wolfram and Mathematica syntax. I thought they are
all under wolfram and the syntax should be same. For instance i is
not a complex i but a variable in Mathematica. SO I changed the i by
esc ii
- I was confused by matrix multiplication and multiply a matrix with a coefficient. To multiply a matrix with a coefficient we should use '*', and for matrix multiplication we should use '.'
Thanks.