Scilab Function
fr - eng


sig2data - Scicos signal structure to scilab data

Module

Description

Extract data from a 'scicos' signal structure. x will be the field B.values t will be the field B.time

Calling Sequence

[x[,t]]=sig2data(B)

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.
-->[x,t]=sig2data(b)
t  =
0.
0.1
0.2
0.3
x  =
(:,:,1)
0.    0.    0.
0.    0.    0.
(:,:,2)
0.    0.    0.
0.    0.    0.
(:,:,3)
0.    0.    0.
0.    0.    0.
(:,:,4)
7.     8.     9.
10.    11.    12.

See Also

Authors

Alan Layec INRIA