I have seen multiple problems like this but none of them have a robust test suite associated with them.
The first input C is a char and CA is the ascii code for that char;
The second input A is a number and AC is the char from that ascii code.
Extract leading non-zero digit
Sum the elements in either diagonal of a square matrix
Max index of 3D array
find the maximum element of the matrix
Brain Teaser Solver
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