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?

 Réponse acceptée

Andrei Bobrov
Andrei Bobrov le 20 Fév 2012

0 votes

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

Plus de réponses (0)

Catégories

En savoir plus sur Matrices and Arrays dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by