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.
Remove any row in which a NaN appears
Back to basics 22 - Rotate a matrix
Reverse the elements of an array
kmph to mps
Is it an Armstrong number?
Given n, create n random numbers such that their standard deviation is also n.
How many palindromes?
Sorted highest to lowest?
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