MATLAB 帮助中心
本页翻译不是最新的。点击此处可查看最新英文版本。
timeseries 数据质量
timeseries
tsquality = getqualitydesc(ts)
tsquality = getqualitydesc(ts) 基于赋予 timeseries 对象 ts 的 Quality 值返回数据质量说明的元胞数组。
ts
Quality
示例
全部折叠
创建一个 timeseries 对象 ts,指定由 0 和 1 组成的质量向量。为 QualityInfo.Code 和 QualityInfo.Description 属性赋值,并显示质量说明。
QualityInfo.Code
QualityInfo.Description
ts = timeseries([3 4.2 5 6.1 8]',1:5,[1 0 1 0 1]'); ts.QualityInfo.Code = [0 1]; ts.QualityInfo.Description = {'Good' 'Bad'}; tsquality = getqualitydesc(ts)
tsquality = 5×1 cell {'Bad' } {'Good'} {'Bad' } {'Good'} {'Bad' }
输入 timeseries,指定为标量。
数据类型: timeseries
在 R2006a 之前推出
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 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处