MATLAB 帮助中心
重命名 tscollection 中的 timeseries
tscollection
timeseries
tscout = settimeseriesnames(tscin,oldname,newname)
tscout = settimeseriesnames(tscin,oldname,newname) 将 tscollection 对象中的 timeseries 对象从 oldname 重命名为 newname。
tscin
oldname
newname
示例
全部折叠
基于一个 timeseries 对象创建一个 tscollection 对象。然后,将 timeseries 名称从 Speed 更改为 Velocity。
Speed
Velocity
ts = timeseries([3.2 4.2 6.2 8.5 1.1]',1:5,... 'Name','Speed'); tscin = tscollection(ts); tscout = settimeseriesnames(tscin,'Speed','Velocity')
Time Series Collection Object: unnamed Time vector characteristics Start time 1 seconds End time 5 seconds Member Time Series Objects: Velocity
输入 tscollection,指定为标量。
现有 timeseries 名称,指定为字符向量。
新 timeseries 名称,指定为字符向量。
在 R2006a 之前推出
timeseries | tscollection
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处