Problem 2408. Find the biggest digit in a matrix
Write a function to find the biggest digit in a matrix;
input -> a matrix
output -> a digit
For example;
[12; 47; 86; 10; 65; 92] = 9 [11; 10; 1; 0; 2] = 2 [11; 10; 1; 0; 22; 20; 12] = 2
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
Rani V.S
on 9 Jul 2014
the test suit is wrong
Jan Orwat
on 9 Jul 2014
hehe, for now there is only one solution which works correctly when there is a NaN or an Inf in the input.
Mehmet OZC
on 9 Jul 2014
I have added NaN and Inf to the test suites
Mehmet OZC
on 9 Jul 2014
"the test suit is wrong" statement is not true.
Solution Comments
Show commentsProblem Recent Solvers56
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
49363 Solvers
-
Back to basics 6 - Column Vector
1066 Solvers
-
Back to basics 12 - Input Arguments
597 Solvers
-
Back to basics 19 - character types
262 Solvers
-
Replace every 3rd element in a vector with 4
249 Solvers
More from this Author92
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!