Basic matlab numeric and string manipulations - MATLAB Cody - MATLAB Central

Problem 44623. Basic matlab numeric and string manipulations

Difficulty:Rate

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

52.56% Correct | 47.44% Incorrect
Last Solution submitted on Oct 22, 2024

Solution Comments

Show comments
R2025a Pre-release highlights
This topic is for discussing highlights to the current R2025a Pre-release.
13
5

Problem Recent Solvers37

Suggested Problems

More from this Author29

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page