Please fix the test suite.
The arguments need to be supplied to the function, as in:
Test suite has been fixed. Thanks for the comments!!
There is still a problem with the test suite. The quantity ff is not defined in test suite problems 2 and 3.
The test suite has been fixed and improved.
Also, note that the input n (polynomial order) refers to the highest-powered term in the series, NOT the number of series terms.
Remove any row in which a NaN appears
Find the sum of the elements in the "second" diagonal
What is the distance from point P(x,y) to the line Ax + By + C = 0?
Volume difference between Ellipsoid and Sphere
Calculate the peak value of square wave
Get the value 100
Ratio between sums of prime and non-prime numbers
Double the next!
Alternating 1´s and 0´s in a matrix
Alternate list of elements
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