The test suite needs to be updated since the function chirp is no longer available. Moreover, most solutions use chirp, which was not recommended at the problem description and would render them false. On the other hand, the problem description also needs to be updated, it is not clear what the function "rise smoothly like an aircraft taking off from ground" is . Anyway, the few solutions that don't use chirp use sin, which is probably the right way to go. However, looking at the documentation of chirp, one may find several different functions to achieve a possible result and none of them is sin.
For the moment, this has become a hacking problem, until the author fixes it.
The function chirp(), which is used in the test suite, is in the Signal Processing Toolbox, and is not available to Cody.
does the signal toolbox not available in cody? i think this one failed is not my problem because in my code, the chirp function is not involved.
Determine if a Given Number is a Triangle Number
Project Euler: Problem 7, Nth prime
Getting the row and column location from a matrix
Basics: 'Find the eigenvalues of given matrix
Wheat on a chessboard pt 1
Size of this cup?
chance in percent for minimum K heads when a good coin is tossed N times?
radius of a spherical planet
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