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
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15764 Solvers
-
Return elements unique to either input
802 Solvers
-
Getting the absolute index from a matrix
254 Solvers
-
11428 Solvers
-
Matlab Basics - Convert a row vector to a column vector
671 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!