Hello, Andriy Kavetsky. The tolerance in test 2 of the Test Suite is quite strange. As written, it seems that a result that is 1000 times larger than the true answer would be accepted as adequate. See Problem 44690 & Problem 44691 for some alternative cues. Also, it is recommended that at least four cases be provided in a Test Suite, though more are often necessary to prevent hard-coded workarounds. —DIV
Sum all integers from 1 to 2^n
Bottles of beer
Make a random, non-repeating vector.
Generate N equally spaced intervals between -L and L
Close MATLAB with keyboard
Delete x value in given vector y.
Display positive elements of matrix.
Divide polynomial p1 by p2.
Replace x value into y value in string text.
Solve expression III
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