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 Solvers40
Suggested Problems
-
Return the 3n+1 sequence for n
8459 Solvers
-
3792 Solvers
-
Set the array elements whose value is 13 to 0
1424 Solvers
-
567 Solvers
-
Rounding off numbers to n decimals
5365 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!