Problem 44623. Basic matlab numeric and string manipulations
If entered input (n) is numeric , compute its log to the base (n+2) ,
if it is a lower case alphabet, convert it to its numeric ascii value ,
if it is an upper case character, create a string with '!' concatenated to the value 'n' Example: 'A' will become 'A!'
else return the input as is
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers36
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6129 Solvers
-
Back to basics 22 - Rotate a matrix
891 Solvers
-
369 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
371 Solvers
-
Sum the 'edge' values of a matrix
335 Solvers
More from this Author29
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!