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
-
16126 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15764 Solvers
-
07 - Common functions and indexing 3
424 Solvers
-
Find the dimensions of a matrix
555 Solvers
-
Convert from Fahrenheit to Celsius
27359 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!