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.
Angle between Two Vectors
Reverse the elements of an array
Angle of triangle
cos for boss?
Dancing with wolves?
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