how to change hyperspectral image size array?

Risposte (1)

This code snippet might help.
% Creating a random data
dataCube = rand(3248,242,256);
% Permuting the 2nd and 3rd channel
dataCubeNew = permute(dataCube, [1 3 2]);

Richiesto:

il 20 Apr 2021

Commentato:

il 24 Apr 2021

Community Treasure Hunt

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

Start Hunting!

Translated by