adding 2D array to 3D array
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have a 3D data matrix (data_3D = 285 x 1 x 32). I need to add data_3D(:,:,1) to the beginning of data_3D. For example:
data_3D=
val(:,:,1) =
0.4071
0.3264
0.2420
.
.
val(:,:,2) =
1.6763
1.7567
1.8351
.
.
val(:,:,3) =
-0.4985
-0.4467
-0.3952
.
.
When data_3D(:,:,1) is added to the beginning of data_3D, data_3D should be:
data_3D=
val(:,:,1) =
0.4071
0.3264
0.2420
.
.
val(:,:,2) =
0.4071
0.3264
0.2420
.
.
val(:,:,3) =
1.6763
1.7567
1.8351
.
.
val(:,:,4) =
-0.4985
-0.4467
-0.3952
.
.
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
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!