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 Solvers39
Suggested Problems
-
Select every other element of a vector
35247 Solvers
-
Extract leading non-zero digit
2195 Solvers
-
2320 Solvers
-
Increment a number, given its digits
673 Solvers
-
444 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!