Add two numbers?
This is a great problem. Add two numbers and the testcase inputs only one number.
atleast two inputs must be there ,please go through problem again.
Should be deleted.
The description of the problem is not consistent with what the problem actually tests. Either this is a cruel joke or the problem was not set up properly.
How am I supposed to add two numbers given only one number?
It's just wastage of time!
This user (ALBERT ALEXANDER STONIER) appears to have gamed the system, with fraudulent "likes" of this unremarkable solution submitted by 'sock-puppet' accounts. —DIV
Select every other element of a vector
Back to basics 8 - Matrix Diagonals
Specific Element Count
Calculate distance travelled when given radius and rotations
factorial of a number x
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