删除样本tscollection
tscollection
tscout = delsamplefromcollection (tscin,“索引”,印第安纳州)
tscout = delsamplefromcollection (tscin,“价值”,timevals)
例子
tscout = delsamplefromcollection (tscin“指数”,印第安纳州)从a中删除样本tscollection对象。印第安纳州属性的索引tscin时间向量对应的样本要删除。
tscout = delsamplefromcollection (tscin“指数”,印第安纳州)
tscin
印第安纳州
tscout = delsamplefromcollection (tscin“价值”,timevals)中的时间值对应的样本被删除timeval。
tscout = delsamplefromcollection (tscin“价值”,timevals)
timevals
timeval
全部折叠
创建一个tscollection对象从两个timeseries对象。然后,去掉第五个样本。
timeseries
ts1 = timeseries([1.1 2.9 3.7 4.0 3.0]',1:5,…“名字”,“加速”);ts2 = timeseries([3.2 4.2 6.2 8.5 1.1]',1:5,…“名字”,“速度”);tscin = tscollection ({ts1, ts2});tscout = delsamplefromcollection (tscin,“指数”5)
时间序列对象:未命名时间矢量特征开始时间1秒结束时间4秒成员时间序列对象:加速速度
输入tscollection,指定为标量。
时间矢量指标,指定为标量或矢量。
示例时间,指定为数值标量或向量,或日期字符向量的单元格数组。有效日期字符向量和字符串可以有以下形式:
dd-mmm-yyyy HH: MM: SS
01 - 3月- 2000 15:45:17
dd-mmm-yyyy
01 - 3月- 2000
mm / dd / yy
03/01/00
mm / dd
03/01
HH: MM: SS
15:45:17
3:45:17点
HH: MM
15分
HH: MM点
下午3:45的时候
mmm.dd, yyyyHH: MM: SS
2000年Mar.01 15:45:17
mmm.dd, yyyy
Mar.01 2000
mm / dd / yyyy
03/01/2000
数据类型:双|单|int8|int16|int32|int64|uint8|uint16|uint32|uint64|细胞
双
单
int8
int16
int32
int64
uint8
uint16
uint32
uint64
细胞
addsampletocollection|timeseries|tscollection
addsampletocollection
您点击了对应于以下MATLAB命令的链接:
通过在MATLAB命令窗口中输入该命令来运行该命令。Web浏览器不支持MATLAB命令。万博1manbetx
选择一个网站,在可用的地方获得翻译内容,并查看当地的活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择一个网站:
选择中国网站(中文或英文)以获得最佳网站性能。其他MathWorks国家站点没有针对您所在位置的访问进行优化。
与当地办事处联系
得到审判现在