Struct array

조회 수: 7 (최근 30일)
Mate 2u
Mate 2u 2012년 2월 20일
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일
out = [data.bidPrice]
or
out = cat(1,data.bidPrice)
ets.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by