You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And later in my workflow I'd like add values at X == 11. Right now that looks like:
da2 = fill(NaN, X(1:11), Y(1:10))
da2[At(1:10), : ] = da;
da = da2
This looks a bit uglier as the number of dims grow. I'm wondering if my current approach is best practice or if there is a helper function (that I haven't been able to find) to simplify this operation as I'm guessing this operation is relatively common.
The text was updated successfully, but these errors were encountered:
I have a DimArray
da = rand(X(1:10), Y(1:10))
And later in my workflow I'd like add values at X == 11. Right now that looks like:
da2 = fill(NaN, X(1:11), Y(1:10))
da2[At(1:10), : ] = da;
da = da2
This looks a bit uglier as the number of dims grow. I'm wondering if my current approach is best practice or if there is a helper function (that I haven't been able to find) to simplify this operation as I'm guessing this operation is relatively common.
The text was updated successfully, but these errors were encountered: