getqualitydesc
timeseries
数据质量
说明
示例
质量说明
创建一个 timeseries 对象 ts
,指定由 0 和 1 组成的质量向量。为 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 = 5x1 cell
{'Bad' }
{'Good'}
{'Bad' }
{'Good'}
{'Bad' }
输入参数
ts
— 输入 timeseries
标量
输入 timeseries
,指定为标量。
数据类型: timeseries
版本历史记录
在 R2006a 之前推出
另请参阅
MATLAB 命令
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)