Create a function called own_abs, which is the absolute number entered as the input
Hello, Krisztina Szilágyi.
To make a good Cody problem there should be several (four or more) test cases within the Test Suite.
See Problem 44631 and successors for some ideas. For this specific problem it may also be interesting to ban the use of MATLAB's built-in function, which is most conveniently done by using assessfunctionabsence (see https://au.mathworks.com/help/coursework/ug/assessfunctionabsence.html ) in the Test Suite. —DIV
So many choices
Number of 1s in a binary string
Who has power to do everything in this world?
ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
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