can I convert data array to data structure with time?

22 Ansichten (letzte 30 Tage)
dong van duc
dong van duc am 15 Okt. 2012
Hi everybody, can I convert data array to data structure with time?

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 15 Okt. 2012
t=0:0.1:10;
y=sin(t)
data=struct('time',t,'signal',y)

Weitere Antworten (0)

Kategorien

Mehr zu Data Type Conversion finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by