Extracting along a dimension in a 4D array
Ältere Kommentare anzeigen
I have a 4D array of dimsension na*nk*nkprime*nd, each dimension representing, number of shock, number of capital today, number of capital tomorrow and number of debt recently. na = 11, nk = 121, nkprime = 121 and nd = 51. I was to extract the values from nk and nkprime positions when na = 2 and nd = 1;
I am doing the following:
V = Rmat(2,:,:,1)
Is this correct?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Multidimensional Arrays finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!