lh-
Member level 1
i have a task - generate shmoo plot from a matrix (of doubles), given the scale and step (in how many submatrices to divide the original matrix).
i only know that i should calculate the average of each submatrix, i.e. suppose the big matrix is my input and step is 3, so the matrix of submatrices will be:
(sorry the spaces aren't visible, its basically 1 matrix divided into 9 submatrices)
and i need to calculate the 9 averages. but this is all am i given. what then? what does this scale mean? i don't understand what i should do. please help me. thanks in advance
i only know that i should calculate the average of each submatrix, i.e. suppose the big matrix is my input and step is 3, so the matrix of submatrices will be:
(sorry the spaces aren't visible, its basically 1 matrix divided into 9 submatrices)
Code:
+-----+------+------+
| | | |
| | | |
+-----+------+------+
| | | |
| | | |
+-----+------+------+
| | | |
| | | |
+-----+------+------+
Last edited by a moderator: