Hi I have a 1x100 struct array called data. In this array I need all the elements bidPrice.
data.bidPrice gives me one element how can I easily get all of the bid prices in a normal array?

 採用された回答

Andrei Bobrov
Andrei Bobrov 2012 年 2 月 20 日

0 投票

out = [data.bidPrice]
or
out = cat(1,data.bidPrice)
ets.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Data Types についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by