Do operation as per given string
Example: '3*5' then answer must be 15;
'3+5' then answer must be 8;
'35' then answer must be 35;
Distance walked 2D
Count up then down
Return 'on' or 'off'
Area of a Square
multiply by three
Flip the vector from right to left
Cumulative product of a vector
Create vector as shown in test cases
Case-insensitive Character Detection
Find the mode of the given input
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