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 Solvers139
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2732 Solvers
-
Project Euler: Problem 2, Sum of even Fibonacci
2428 Solvers
-
Get the length of a given vector
11082 Solvers
-
329 Solvers
-
Convert from Fahrenheit to Celsius
24053 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!