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 Solvers135
Suggested Problems
-
Select every other element of a vector
31633 Solvers
-
17510 Solvers
-
339 Solvers
-
146 Solvers
-
Matrix of almost all zeros, except for main diagonal
179 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!