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
  1 件のコメント
Prapthi
Prapthi 2023 年 2 月 21 日
Thank you sir...

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDetection, 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