Enter n: 3
Enter range: 50 // range of prime numbers
A = 1 12 37
24 45 11
2 34 10
matrix sum = 48
solution submatrix = 37 //largest rectangle of primes
11
coordinates are= 1 3 2 3
First program gives a random matrix and finds largest rectangle consists of primes(submatrix) and then displaying their sum and coordiantes.
how can i write a program like this in matlab?