Problem 561. Find the jerk
Solution Stats
Problem Comments
-
4 Comments
My apologies to the second solver of the problem... The test-suite changed so that the signal sig is no longer simply t^2. With that type of hint, someone could just difference the perturbed signal with t^2 to find the jerk.. Or someone could simply look for the point where the acceleration is negative... That's not my intent. I want a nonzero jerk. Now sig is somewhat random.
Kye, not a problem. I will try again. Cheers.
I realize that an even better signal would be one created as before except with the modification
sig(breakPoint) = (-1)^(randi(2)-1)*(1.01)*sig(breakPoint);
so that the jerk could be positive or negative...
Many of the solutions return multiple invalid answers. The test condition "any" allows these to pass. Suggest change "any" to "all". all(abs(findAJerk(sig) - breakPoint)<=6)
Solution Comments
Show commentsProblem Recent Solvers45
Suggested Problems
-
Project Euler: Problem 9, Pythagorean numbers
980 Solvers
-
Find perfect placement of non-rotating dominoes (easier)
348 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
8757 Solvers
-
Create matrix of replicated elements
365 Solvers
-
671 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!