| Contents | Index |
Set properties of timeseries object
set(ts, PropertyName, Value)
set(ts, PropertyName)
set(ts)
set(ts, PropertyName, Value) sets the named property, Name, of the timeseries object, ts, to the value, Value. The following syntax is equivalent:
ts.Property = Value
set(ts, PropertyName) displays the value of the named property for the timeseries object, ts.
set(ts) displays all properties and values of the timeseries object ts.
ts |
A timeseries object. |
PropertyName |
A string specifying the name of a timeseries property. For a list of timeseries properties, see timeseries. |
Value |
The value to which you want to set the named property. |
Create a timeseries, set its name to mytimeseries, and then view the timeseries properties:
ts1 = timeseries(rand(5,1),[1 2 3 4 5]); set(ts1, 'Name', 'mytimeseries') set(ts1)

Explore how to use MATLAB to make advancements in engineering and science.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |