Revision 572, 409 bytes
(checked in by smidl, 15 years ago)
|
test corrected for dafults from facstr.m
|
Rev | Line | |
---|
[571] | 1 | % sript for testing structure estimating function |
---|
| 2 | |
---|
| 3 | A=rand(2); |
---|
| 4 | [L1,D1]=ldform(A); |
---|
| 5 | B=rand(2); |
---|
| 6 | [L2,D2]=ldform(A+B); |
---|
| 7 | |
---|
[572] | 8 | % structure estimation |
---|
| 9 | belief = 2; % default belief |
---|
| 10 | nbest = 1; % nbest: how many regressors are returned |
---|
| 11 | nrep = 5; % nrep: number of random repetions of structure estimation |
---|
| 12 | lambda = 0.9; |
---|
| 13 | k=2; |
---|
| 14 | |
---|
| 15 | [o1,o2,o3]=straux1(L1,D1,10,L2,D2,20, belief, nbest, nrep, lambda, k); |
---|