Good Morning All,
I have an excel data containing 4 random variables and their response. I wish to use this data for active learning and have used it as shown below(some part of the code here). However, when I try to run the entire code it says no model defined. I do not have any explicit function for my analysis and my excel fine is in xlsx format please what can I do?
Appreciate any support please.
Code
uqlab
PP=‘truss.xlsx’;
Range1=‘B3:O22’;
Range2=‘P3:P22’;
X=xlsread(PP,1,‘B3:E22’);
G=xlsread(PP,1,‘P3:P22’);
iOpts.Marginals(1).Type = ‘Uniform’;
iOpts.Marginals(1).Moments = [-4 4];
iOpts.Marginals(2).Type = ‘Uniform’;
iOpts.Marginals(2).Moments = [-4 4];
iOpts.Marginals(3).Type = ‘Uniform’;
iOpts.Marginals(3).Moments = [-4 4];
iOpts.Marginals(4).Type = ‘Uniform’;
iOpts.Marginals(4).Moments = [-4 4];
myInput=uq_createInput(iOpts);
ALROpts.Type = ‘Reliability’;
ALROpts.Method = ‘ALR’;
ALROpts.ALR.IExpDesign.X = X;
ALROpts.ALR.IExpDesign.G = G;