Struct array
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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?
0 comentarios
Respuesta aceptada
Andrei Bobrov
el 20 de Feb. de 2012
out = [data.bidPrice]
or
out = cat(1,data.bidPrice)
ets.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Structures en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!