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.
count to vector
Duplicate each element of a vector.
Rotate input square matrix 90 degrees CCW without rot90
Make a 1 hot vector
Center of mass
Energy of a photon
Distance walked 1D
count any radix?
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