Hello,
Imagine two squared arrays A and B. I want array C to equal array A if array A is >= than array B.
Now, imagine array A is a 3D array. So I would need array C to also be 3D.
My knowledge is really limited, so any thought process (how you came up with the code) is welcome!
This is what I have (but it is not working), what can I change?
for k=1:1:15 for j=1:1:384 for i=1:1:384 if dBZ(i,j,k) >= dBZ_Mask(i,j) weather(i,j,k) = dBZ(i,j,k); end end end end
Best Answer