Dado um valor inteiro N, qual o maior valor primo <= N
MaiorPrimo(5) = 5;
MaiorPrimo(10) = 7;
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers44
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15782 Solvers
-
490 Solvers
-
Sum of odd numbers in a matrix
617 Solvers
-
Matlab Basics - Set unwanted parts of a vector to zero
261 Solvers
-
特定の値がベクトル内に含まれているかを確認するコードを書こう
341 Solvers
More from this Author20
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!