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

조회 수: 13 (최근 30일)
Prapthi
Prapthi 2023년 2월 21일
댓글: Prapthi 2023년 2월 21일
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];

채택된 답변

KSSV
KSSV 2023년 2월 21일
편집: KSSV 2023년 2월 21일
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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Detection, Range and Doppler Estimation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by