how to specify vector of formula for C matrix

This is the development of a 2nd Edition of Enders' RATS Programming Manual.

Moderator: TomDoan

how to specify vector of formula for C matrix

Unread postby hardmann » Thu Feb 03, 2022 9:54 pm

Dear Tom:

In state space model, we have 6 states and two measurement equation, so our C' matrix is [2*6]. If we must use formulas to express C. How to deal with them?
we try as follows, but both fail.

dec frml[vect] cf1
dec frml[vect] cf2

dlm(..,c=||cf1,cf2||,..)

or

dec frml cf
dec frml[vect] cf1
dec frml[vect] cf2
frml cf = ||cf1|cf2||

dlm(..,c=cf,..)


Pls help me.

Best Regard
Hardmann
hardmann
 
Posts: 159
Joined: Sat Feb 26, 2011 10:49 pm

Re: how to specify vector of formula for C matrix

Unread postby TomDoan » Fri Feb 04, 2022 8:23 am

Use c=cf1~cf2
TomDoan
 
Posts: 7236
Joined: Wed Nov 01, 2006 5:36 pm

Re: how to specify vector of formula for C matrix

Unread postby hardmann » Sat Feb 05, 2022 7:32 am

Dear Tom:

Thanks. After adjusting repeatedly, It does really work.

Best regard
Hardmann
hardmann
 
Posts: 159
Joined: Sat Feb 26, 2011 10:49 pm


Return to RATS Programming Manual

Who is online

Users browsing this forum: No registered users and 1 guest

cron