0
Not a bug

MSCALE

john doe fa 9 anys updated by Pavel Holoborodko fa 9 anys 1

M = [ 1.4334 0.7382 1.8723;
0.7298 0.1605 3.0624;
2.7983 1.5972 0.5769];

[s,p] = mscale(mp(M), 'safebal', 'perm');


In an assignment A(:) = B, the number of elements in A and B must be the same.
Error in mpmscale

Not a bug

This happens because you added the line to double():


if ~(mp.OverrideDoubleBasicArrays && ismp(x))


Now ip = triperm('H',double(a)) in MSCALE doesn't work since double() produces mp-numbers anyway.


This is related to your another ticket: https://mct.userecho.com/topics/50-overridedoublebasicarrays-option-and-double-method/