| LTPDA Toolbox | contents | ![]() |
|
Back to Class descriptions
The LTPDA toolbox restrict access of the properties.
The get access is 'public' and thus it is possible to get the values with the dot-command (similar to structures).
For example:The set access is 'protected' and thus it is only possible to assign a value to a property with a set-method.
val = obj.prop(2).prop;
For example: obj2 = obj1.setName('my name') % This command creates a copy of obj1 (obj1 ~= obj2) obj.setName('my name'); % This command applies to obj
| Properties | Description | Defined in class |
|---|---|---|
|
t0 |
Time-stamp of the first data sample |
tsdata |
|
fs |
Sample rate of data |
tsdata |
|
nsecs |
The length of this time-series in seconds |
tsdata |
|
version |
CVS version string of the constructor |
tsdata |
|
xunits |
Units of the x-axis |
data2D |
|
yunits |
Units of the y-axis |
data2D |
|
x |
Data values of the x-axis |
data2D |
|
y |
Data values of the y-axis |
data2D |
Back to Top
|
Back to Top
| Methods | Description | Defined in class |
|---|---|---|
|
TSDATA time-series object class constructor. |
tsdata |
Back to Top of Section
| Methods | Description | Defined in class |
|---|---|---|
|
GET get a property of a object. |
ltpda_obj |
|
|
ISPROP tests if the given field is one of the object properties. |
ltpda_obj |
Back to Top of Section
| Methods | Description | Defined in class |
|---|---|---|
|
APPLYMETHOD applys the given method to the input 2D data. |
data2D |
|
|
APPLYOPERATOR applys the given operator to the two input data objects. |
data2D |
|
|
GETY Get the property 'y'. |
data2D |
|
|
SETX Set the property 'x'. |
data2D |
|
|
SETXY Set the property 'xy'. |
data2D |
|
|
SETXUNITS Set the property 'xunits'. |
data2D |
|
|
SETY Set the property 'y'. |
data2D |
|
|
SETYUNITS Set the property 'yunits'. |
data2D |
|
|
COLLAPSEX Checks whether the x vector is evenly sampled and then removes it |
tsdata |
|
|
FIXNSECS fixes the numer of seconds. |
tsdata |
|
|
GETX Get the property 'x'. |
tsdata |
|
|
GROWT grows the time (x) vector if it is empty. |
tsdata |
|
|
SETFS Set the property 'fs'. |
tsdata |
|
|
SETNSECS Set the property 'nsecs'. |
tsdata |
|
|
SETT0 Set the property 't0'. |
tsdata |
Back to Top of Section
| Methods | Description | Defined in class |
|---|---|---|
|
CHAR convert a ltpda_data-object into a string. |
data2D |
|
|
DISPLAY overloads display functionality for tsdata objects. |
tsdata |
Back to Top of Section
| Methods | Description | Defined in class |
|---|---|---|
|
EQ overloads the == operator for ltpda objects. |
ltpda_obj |
|
|
NE overloads the ~= operator for ltpda objects. |
ltpda_obj |
Back to Top of Section
|
fsdata Class | xydata Class | ![]() |
©LTP Team