Matlab compat: replaced bang with tilde.