Problem 1794. 02 - Vector Variables 4
Solution Stats
Problem Comments
-
2 Comments
Gergely Patay
on 9 Jan 2015
why, oh, why is the test suite exactly the same as the expected solution?
Jeremy Perez
on 16 Sep 2020
Isn't 10.^(0:0.01:1) more precise?
Solution Comments
-
1 Comment
Daniel Pereira
on 25 Feb 2016
What? This should work. I hate computer precission!
-
1 Comment
Matthew Eicholtz
on 7 Nov 2013
This approach should work as well, but the results are not exactly equal (<1e-14 error). I suggest adding a tolerance to the test suite.
-
2 Comments
Evan
on 13 Aug 2013
Perhaps, in the test-suite, you could account for small imprecisions? This would allow for answers that don't use the logspace command.
Andrew Newell
on 6 Dec 2014
I agree; not accounting for imprecision is bad numerical practice.
Problem Recent Solvers503
Suggested Problems
-
16593 Solvers
-
Create a Multiplication table matrix...
375 Solvers
-
708 Solvers
-
Matlab Basics - Logical Tests I
243 Solvers
-
3595 Solvers
More from this Author26
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!