Problem 44314. A Simple Tide Gauge with MATLAB
Solution Stats
Problem Comments
-
2 Comments
Is there a reference, that I can use, for predicting high/low tide from the water line height? I don't want to construct a solution based on the test suite data.
We can use derivatives for predicting the high tide (diff) when we can assume that a function is increasing or decreasing (even with some noise).
Solution Comments
-
2 Comments
I would love to see some better solutions than my cheat!
what about tide=A(1)<10 !
-
1 Comment
Lots of ways to get the right answer for this test suite...but I think this is one of the silliest.
Problem Recent Solvers371
Suggested Problems
-
456 Solvers
-
841 Solvers
-
Flip the vector from right to left
6134 Solvers
-
Find the next Fibonacci number
399 Solvers
-
Given a square and a circle, please decide whether the square covers more area.
636 Solvers
More from this Author100
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!