Filter löschen
Filter löschen

Struct array

1 Ansicht (letzte 30 Tage)
Mate 2u
Mate 2u am 20 Feb. 2012
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?

Akzeptierte Antwort

Andrei Bobrov
Andrei Bobrov am 20 Feb. 2012
out = [data.bidPrice]
or
out = cat(1,data.bidPrice)
ets.

Weitere Antworten (0)

Kategorien

Mehr zu Structures finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by