当前位置:网站首页>matlab timeserise

matlab timeserise

2022-07-05 07:59:00 feiyingzaishi

1) produce timeserise data

Method 1 : adopt timeseries, for example ts = timeseries(rand(5,1));%rand It's production 5*1 Matrix random number of

Method 2 :simulink The data generated in is output to To Workspace Control

2) obtain timeserise attribute

In the command line window , adopt get Function to directly obtain , for example

tsinfo = get(ts) 

Specific data acquisition methods :

ts.Time

ts.Data

3) Yes timeserise Data mapping

In the command line window , Direct to data plot, for example plot(ts)

原网站

版权声明
本文为[feiyingzaishi]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202140548093351.html