can I convert data array to data structure with time?

 採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2012 年 10 月 15 日

0 投票

t=0:0.1:10;
y=sin(t)
data=struct('time',t,'signal',y)

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeData Types についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by