Problem 729. Flag largest magnitude swings as they occur
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
Kevin Hellemans
on 18 Sep 2013
The phrasing might be a bit ambiguous, as magnitude swing could also be thought of as delta(i-1)-delta(i) instead of just delta(i). Nonetheless fun problem!
Abhishek Jain
on 16 Sep 2016
Nice question.
Abir Hasan
on 1 Aug 2018
Nice problem
Josh
on 7 Aug 2023
Agreed with first comment, it would be helpful to have more specificity with definition of magnitude "swing" ...perhaps the word "swing" is confusing because it implies some kind of reference point or change from one point to the next, when all that's being considered is the magnitude of each progressive value in comparison to previous max_magnitudes(+ and -)
Solution Comments
Show commentsProblem Recent Solvers660
Suggested Problems
-
24722 Solvers
-
247 Solvers
-
289 Solvers
-
Who has power to do everything in this world?
421 Solvers
-
11798 Solvers
More from this Author51
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!