Problem 2556. Create Vector containing following elements
Create Vector containing following elements
A=[pi eps NaN inf -inf flintmax];
Solution Stats
Problem Comments
-
1 Comment
Guillaume
on 6 Sep 2014
Your test suite is too easily defeated. You should replace it with: isequaln(vec_cons(), y_correct)
Solution Comments
Show commentsProblem Recent Solvers142
Suggested Problems
-
Get the length of a given vector
12810 Solvers
-
635 Solvers
-
Count decimal digits of a number
234 Solvers
-
Check that number is whole number
5168 Solvers
-
187 Solvers
More from this Author70
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!