data_chirp(:,:,1:2:end); what does this code mean???

chirp_odd = data_chirp(:,:,1:2:end);
chirp_even = data_chirp(:,:,2:2:end);
chirp_odd = permute(chirp_odd, [2,1,3]);%permutation with the format [samples, Rx, chirp]
chirp_even = permute(chirp_even, [2,1,3]);
chirp_data = [chirp_odd chirp_even];

 Akzeptierte Antwort

KSSV
KSSV am 21 Feb. 2023
Bearbeitet: KSSV am 21 Feb. 2023

0 Stimmen

It means your data i.e. data_chirp is a 3D data. That line extracts all rows, all columns at odd indices of 3rd dimension.
To know the size, of the data you may use:
size(data_chirp)
whos data_chirp

Weitere Antworten (0)

Kategorien

Mehr zu Fourier Analysis and Filtering finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 21 Feb. 2023

Kommentiert:

am 21 Feb. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by