Clear Filters
Clear Filters

Run estimate(Mdl,y) with constraints on coefficients of ssm(A,B,C,D) model

1 view (last 30 days)
Hi all,
I would like to run following function to estimate the coefficients for an ssm model:
EstMdl = estimate(Mdl,y,'name','value')
and an ssm model of following form:
Mdl = ssm(A,B,C,D)
These vectors contains 3 undefined coefficients which are named 'NaN'. A = [NaN NaN; 0 0]; D = NaN;
My questions: 1) How can I introduce the constraint that coefficient 1 and 2 (those of vector A) have to sum up to 1 (NaN(1)+NaN(2)=1). I assume something like 'beq' could work as a name/value pair, but I could not find a decent formula? 2) Can I give the NaN coefficients different names (e.g. 'w','v') in order to impose constraints such as w+v=1
Many thanks for your advice.
Oli

Answers (0)

Community Treasure Hunt

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

Start Hunting!