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).
I would love to see some better solutions than my cheat!
what about tide=A(1)<10 !
Lots of ways to get the right answer for this test suite...but I think this is one of the silliest.
Tic Tac Toe FTW
Factorize THIS, buddy
Flag largest magnitude swings as they occur
MATLAB Basic: rounding IV
Given n, create n random numbers such that their standard deviation is also n.
surface of a spherical planet
Acid and water
Selecting books on MATLAB for experts and beginners (blindfolded)
Sorted highest to lowest?
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office