フィルターのクリア

Hi everyone. How can i extract the first column(first field) from a structure 1x84 with 3 fields?

25 ビュー (過去 30 日間)
I do like (:,1) but it only gives me a struct 1x1 that contains the first row with the 3 fields but I need only the first field (first column) with all the 84 elements in column.
Thank you

回答 (1 件)

Image Analyst
Image Analyst 2019 年 6 月 30 日
After you read this link, attach your structure array in a .mat file.
In the meantime, try
output = vertcat(s.fieldYouWant);
  2 件のコメント
mina massoud
mina massoud 2019 年 6 月 30 日
i attached for you the structure array in a .mat file
thank you
Image Analyst
Image Analyst 2019 年 6 月 30 日
Try this:
s = load('Tailwind_satE08.mat')
DETECTION = s.DETECTION
% Extract into 3 separate variables.
ranges = [DETECTION.Range];
Doppler = [DETECTION.Doppler];
TxPOS = [DETECTION.TxPOS];

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

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by