| Contents | Index |
ftse = extfield(tsobj, fieldnames)
tsobj | Financial time series object |
fieldnames | Data series to be extracted. A cell array if a list of data series names (fieldnames) is supplied. A string if only one is wanted. |
ftse = extfield(tsobj, fieldnames) extracts from tsobj the dates and data series specified by fieldnames into a new financial time series object ftse. ftse has all the dates in tsobj but contains a smaller number of data series.
extfield is identical to referencing a field in the object. For example,
ftse = extfield(fts, 'Close')
is the same as
ftse = fts.Close
This function is the complement of the function rmfield.
View demos and recorded presentations led by industry experts.
Now On Demand
Network with industry peers and learn the latest applications of the leading software product for computational finance.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |