Community Profile

minion001

Active since 2017

Content Feed

View by

Question

how do i go along 2Darray matrix from middle of array
for e.g i have a matrix B=[1 6 8 9 1 5; 9 8 7 6 2 6; 2 5 4 9 3 7; 1 2 5 8 7 2] i want to start from middle of array (3,3...

mehr als 4 Jahre ago | 1 answer | 0

1

Question

how do you stop at a column without getting exceeds dimension error
finding the elevation change in a 2D matrix (4 by 6), it starts from one corner, and ends at the other, increasing in columns an...

mehr als 4 Jahre ago | 1 answer | 0

1

Question

how to not exceed limits of the matrix column
for eg, i have matrix A=[4 6 3 8 9 5;1 7 2 4 3 4;7 8 5 6 1 2; 1 8 4 7 10 6;] and i use a for loop to go across the column, f...

mehr als 4 Jahre ago | 1 answer | 0

1

Question

how do we get adjacent values of an element in a 2D array matrix
for example, the matrix is A[6 4 9 7 3 1; 4 8 1 9 3 8; 3 8 5 7 3 9; 8 2 4 6 3 7] my current location is A[4,3]=4 a...

mehr als 4 Jahre ago | 1 answer | 0