Solution 2170312

Submitted on 22 Mar 2020
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
y_correct = 1; try gpuDevice catch y_correct = 0; end assert(isequal(your_fcn_name(),y_correct))

Unrecognized function or variable 'gpuDevice'. Error in your_fcn_name (line 2) y = gpuDevice Error in Test1 (line 7) assert(isequal(your_fcn_name(),y_correct))

Suggested Problems

More from this Author59