writersp

Writes data in a RSP file.

Inputs

filename
Path of the file.
Type: string
timedata
Time channel data. Time channel should be evenly distributed.
Size of matrix should be 1xN, where N is the number of time steps.
Type: matrix
data
Data channel data.
Size of matrix should be MxN size, M is number of data channels and N is number data points.
Type: matrix
Type: cell
Number of points written to Rsp file is power of 2. Minimum number of points is 512.
Optional argument. Default zero is padded to the data. Last point is padded to the data if "lastpoint" is passed.
Type: string

Examples

Basic writersp example:

writersp('test1.rsp',[1,2,3],[11,12,13; 21, 22, 23])

writersp('test2.rsp',[1,2,3],[11,12,13; 21, 22, 23],{'Time';'data1';'data2'})