While using the following table format to extract features in diagonosti​cfeaturede​signer toolbox error"index in position 2 exceeds array bounds" error is generated

2 ビュー (過去 30 日間)
The error "index in position 2 exceeds array bounds" is generated.
The diagonostic featuredesigner also does not extract all the signals in the column.
  7 件のコメント
dpb
dpb 2023 年 9 月 10 日
Well, there are only two other perturbations to try--
  1. two timetable columns w/ no fault variable, and
  2. two timetable columns w/ a fault variable.
Then you will know the limits of what the app thinks it must have...I didn't even know it existed ere now so I don't have a klew; all I can tell you is to try it out and see and read all the doc carefully. It's possible the designers didn't think a one-variable model was something anybody would try to use it for....I really don't know what it does, perhaps the one-variable model would reduce to some form of MLE estimation that could be done w/ linear estimation tools???

サインインしてコメントする。

回答 (1 件)

Rachel Johnson
Rachel Johnson 2023 年 11 月 27 日
Hi Rachita,
The issue is not your data format (table of timetables), which should work with the Diagnostic Feature Designer app. The issue is that the app expects the timetables in the same dataset to have the same Variable Names. In your dataset, each timetable has a different Variable Name -- VarName2, VarName3, VarName4, etc.
Try renaming all of the variables to the same name using the code below.
for i = 1:size(T,1)
T.tt{i,1}.Properties.VariableNames(1) = "VarName";
end

カテゴリ

Help Center および File ExchangeGenerate MATLAB Code in Diagnostic Feature Designer についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by