Problem 42617. List of built-in demo images
Return a cell array containing the filenames for built-in images (e.g. cameraman.tif, coins.png). An optional input specifies what type(s) of files to look for. If no such files exist, return an empty cell array.
EDIT: The output should be sorted in alphabetical order.
Solution Stats
Problem Comments
-
7 Comments
Mysterious order for me.
Why tif>png>jpg if you give an input list in another order ?
The order should not matter. I sort the lists before checking if they are equal.
After giving it some thought, I have decided to force users to sort their output in alphabetical order.
In 23 size, humm intriguing ...
The test suite is outdated. There are more images currently than reported in the test suite. (And in this case, I will not fix it manually.)
nice
good problem!
Solution Comments
Show commentsProblem Recent Solvers10
Suggested Problems
-
Find the sum of all the numbers of the input vector
46545 Solvers
-
Determine if a Given Number is a Triangle Number
365 Solvers
-
1876 Solvers
-
Find the "ordinary" or Euclidean distance between A and Z
159 Solvers
-
82 Solvers
More from this Author44
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!