3 lines
104 B
Mathematica
3 lines
104 B
Mathematica
function err = eval_error(phi_w, ground)
|
|
err = norm(phi_w(:) - ground(:), 2)/norm(ground(:), 2);
|
|
end |