Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = [1 2 3 4 5];
c = 'uint32';
y_correct = 'uint32';
assert(strcmp(class(convertto(x,c)),y_correct) && isequal(x,convertto(x,c)))
|
2 | Pass |
%%
x = [4 7 0 3 2 2];
c = 'int16';
y_correct = 'int16';
assert(strcmp(class(convertto(x,c)),y_correct) && isequal(x,convertto(x,c)))
|
414 Solvers
Create One Large Eye of size N x N Quickly?
70 Solvers
Remove from a 2-D matrix all the rows that contain at least one element less than or equal to 4
123 Solvers
204 Solvers
Volume difference between Ellipsoid and Sphere
76 Solvers