| Construct empty XYDATA object |
| Construct a XYDATA object by loading the object from a file |
| Construct a XYDATA object from a y-data vector |
| Construct a XYDATA object from a x-data and y-data vector |
The following example creates an empty xydata object
xy = xydata()
-------- xydata 01 ------------
name: None
x: [0 0], double
y: [0 0], double
xunits:
yunits:
-------------------------------
The following example creates a new xydata object by loading the xydata object from disk.
xy = xydata('xy.mat') xy = xydata('xy.xml')
Creates an xy data object with the given y-data.
y = randn(1000,1); xy = xydata(y)
creates an xy-data object with the given (x,y)-data.
y = randn(1000,1); x = 1:length(y); xy = xydata(x,y)