Problem 2556. Create Vector containing following elements

Solution 1913677

Submitted on 27 Aug 2019 by danteliujie
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   Pass
y_correct = [pi eps NaN inf -inf flintmax];; isnan(sum(abs(vec_cons()-y_correct)));