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.
The Hitchhiker's Guide to MATLAB
fly fly away
Back to basics 11 - Max Integer
Vectorize the digits of an Integer
Switch matrix to a column vector
Given an unsigned integer x, find the largest y by rearranging the bits in x
speed vs size
Inner product of two vectors
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