can I convert data array to data structure with time?

27 visualizzazioni (ultimi 30 giorni)
Hi everybody, can I convert data array to data structure with time?

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Data Type Conversion in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by