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.
There is an error in the test suite of the exercise that has to be fixed. As it is now, it does not work with any solution.
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.
Compress strings (not springs)
Remove the two elements next to NaN value
Convert from Base 10 to base 5
Replace all zeros and NaNs in a matrix with the string 'error'
Distance walked 3D
swap sign sum & multiply castles
Given a number N, find the smallest prime P>N
Simple spirometer - find your lung capacity from the number and size of soap bubbles in one breath
surface 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