Scilab Function
fr - eng


data2sig - Scilab data to scicos signal structure

Module

Description

Put data in a 'scicos' signal structure. If A is a vector, then it will be understand as a scalar that evolves along time. If A is a matrix, then it will be understand as a vector that evolves along time. If A is an hypermatrix, then it will be understand as a matrix that evolves along time.

Calling Sequence

B=data2sig(A[,step])

Parameters

Example

-->a(:,:,4)=([7 8 9;10 11 12]);
-->b=data2sig(a,0.1)
b  =
values: [2x3x4 hypermat]
time: [4x1 constant]
-->b.time
ans  =
0.
0.1.
0.2.
0.3.

See Also

Authors

Alan Layec INRIA