| Products & Services | Industries | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
getqualitydesc(ts)
getqualitydesc(ts) returns a cell array of data quality descriptions based on the Quality values you assigned to a timeseries object ts.
Create a timeseries object with Data, Time, and Quality values, respectively.
ts = timeseries([3; 4.2; 5; 6.1; 8], 1:5, [1; 0; 1; 0; 1]);
Set the QualityInfo property, consisting of Code and Description.
ts.QualityInfo.Code = [0 1];
ts.QualityInfo.Description = {'good' 'bad'};Get the data quality description strings for ts.
getqualitydesc(ts)
ans =
'bad'
'good'
'bad'
'good'
'bad'![]() | getpref | getReport (MException) | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |