This function compute errors between the two A matrices, after guessing the permutation from the minimum MAE.

compare_A(A_r, A_est)

Arguments

A_r

The real A matrix used for the simulation..

A_est

The calculated A matrix. Permutation is guessed from the minimum MAE.

Value

This function return the matrix with noise.