By looking at the solutions, you should probably add a case
c = {'data.mat', 'amat', 'repo.mat', 'matrix', '.mat'}
str = '*.mat'
Given an unsigned integer x, find the largest y by rearranging the bits in x
820 Solvers
554 Solvers
Permute diagonal and antidiagonal
232 Solvers
677 Solvers
Convert elements in numeric array into different class
52 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!