Cody

Solution 1994999

Submitted on 29 Oct 2019
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Fail
x=[2 -16 384 -18432 1474560]; n=8; y=[2 -16 384 -18432 1474560 0 0 0]; assert(isequal(procrustes(x,n),y))

varargin = 1×2 cell array {1×6 double} {[3]}

Output argument "y" (and maybe others) not assigned during call to "procrustes".

2   Fail
x=[8 -96 3072 -184320 17694720]; n=0; assert(isempty(procrustes(x,n)))

varargin = 1×2 cell array {1×6 double} {[3]}

Output argument "y" (and maybe others) not assigned during call to "procrustes".

3   Fail
x='0.314 arcseconds'; n=12; y='0.314 arcsec'; assert(isequal(procrustes(x,n),y))

varargin = 1×2 cell array {1×6 double} {[3]}

Output argument "y" (and maybe others) not assigned during call to "procrustes".

4   Fail
x='credible fishers'; n=20; y='credible fishers '; assert(isequal(procrustes(x,n),y))

varargin = 1×2 cell array {1×6 double} {[3]}

Output argument "y" (and maybe others) not assigned during call to "procrustes".