How to extract data from 6D data?

7 visualizzazioni (ultimi 30 giorni)
Prakash Raut
Prakash Raut il 7 Gen 2022
Commentato: Matt J il 7 Gen 2022
I have a variable named data which is 6-D double
Its size is 256 256 256 1 3 3.
I can easily extract 256*256*256 matrix but how do i extract last 3?

Risposte (1)

Matt J
Matt J il 7 Gen 2022
yourMatrix(i,j,k,:,:,:)
  1 Commento
Matt J
Matt J il 7 Gen 2022
and possibly also,
shiftdim( yourMatrix(i,j,k,:,:,:) ,3)
depending on the shape you wanted.

Accedi per commentare.

Categorie

Scopri di più su Matrices and Arrays in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by