I would like to get a maximum of a matrix in intervals inside for loop.
Matrix K has dimension (N,3,3). I like to have a matrix P (Max of K) between N 1 to 10, and then update it again with K and find the maximum at N 10 to 20.
So far I can get the maximum of the matrix K but can't update it in each interval.
Thanks in advance.
L=3
N=30
Interval=10
VB=[]...