Suppose that we have N by N matrix, we try to find the minimal value in that matrix.
Input A=[1 2 3 5 6;52 58 56 45 9;100 52 896 25 47; 52 325 6 2 1;1 1 1 1 2]
Input A=[1 0 3]
Hello, Said BOUREZG. You do not have N×N matrices in every case, so it would be accurate to describe them as "N×M matrices". Or just "matrices". —DIV
Convert a vector into a number
Basic arrays operations.
Find out sum of all elements of given Matrix
y equals x divided by 2
Stop a ZigZag scanning N*N Matrix at any diag you want
Find the maxmum value of N*N Matrix
Input & Output "Smart One"
Who have the chance?
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office