Index exceeds array bounds.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
hugo monstans thurler dos santos
el 8 de Ag. de 2021
Comentada: hugo monstans thurler dos santos
el 8 de Ag. de 2021
I try run this code for keep use remaining useful life, but it doesn't work.
BOP = readtable('auxiliary_equipment.csv');
head(BOP)
%%Divida os dados do subsistema auxiliary equipment de treinamento e
% um conjunto de dados de validação para avaliação posterior de desempenho.
rng('default')
numEnsemble = size(BOP);
numFold = 2;
cv = cvpartition(numEnsemble, 'KFold', numFold);
trainData = BOP(training(cv, 1),:);
validationData = BOP(test(cv, 1),:);
%
varNames = string(BOP.Properties.VariableNames);
timeVariable = varNames{4:6};
conditionVariables = varNames(7:12);
dataVariables = varNames(1);
%
nsample = 10;
figure
helperPlotEnsemble(trainData, timeVariable, ...
[conditionVariables(1:2) dataVariables(1:2)], nsample)
Index exceeds array bounds.
2 comentarios
Image Analyst
el 8 de Ag. de 2021
I'm not even going to try until you attach 'auxiliary_equipment.csv'.
Respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!