Problem 2556. Create Vector containing following elements

Solution 1647881

Submitted on 15 Oct 2018 by Rajeshwar Singh
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)));