Cody

Problem 2688. Keep Only the Upper characters in a string

Solution 1627091

Submitted on 13 Sep 2018 by Michael Cappello
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
x = 'Sreeram Mohan'; y_correct = 'SM'; assert(isequal(your_fcn_name(x),y_correct))

x = 'S M' x = 'SM'

Suggested Problems

Community Treasure Hunt

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

Start Hunting!