Cody

Problem 2556. Create Vector containing following elements

Solution 1382388

Submitted on 16 Dec 2017 by jean claude
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)));

ans = 1.0e+15 * 0.0000 0.0000 NaN Inf -Inf 9.0072

Suggested Problems

More from this Author70

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!