Dear all,

For a given input (1x10), if my output is a matrix (10x10), and for 100 input samples my output is (10x10x100)

I’m trying to use PCE LARS using the following code

MetaOpts.Type = ‘Metamodel’;

MetaOpts.MetaType = ‘PCE’;

MetaOpts.Method = ‘LARS’;

MetaOpts.TruncOptions.qNorm = 0.75;

MetaOpts.Degree = 2; %:10;

MetaOpts.ExpDesign.NSamples = 10;

MetaOpts.ExpDesign.Sampling = ‘LHS’;

Error Message

`Incorrect dimensions for matrix multiplication. Check that the number of columns in the first matrix matches the number of rows in the second matrix. To perform elementwise multiplication, use '.*'. Error in uq_lar (line 199) cj = Psi'*(Y - mu); Error in uq_PCE_lars (line 60) lar_results = uq_lar(Psi, Y, lar_options);`