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
Solution Comments
Show comments
Loading...
Problem Recent Solvers58
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15808 Solvers
-
Fahrenheit to Celsius converter
609 Solvers
-
Convert a Cell Array into an Array
2313 Solvers
-
Sum the 'edge' values of a matrix
404 Solvers
-
Find Out sum of principal diagonal element of given matrix
258 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!
the test suit is wrong
hehe, for now there is only one solution which works correctly when there is a NaN or an Inf in the input.
I have added NaN and Inf to the test suites
"the test suit is wrong" statement is not true.