Overview
Comment:Removed debugging
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: b9523bb2d0a8969b27efc35cc1917f197755dad456c4b2c267299024906ef436
User & Date: gawthrop@users.sourceforge.net on 1999-11-22 00:23:18.000
Other Links: branch diff | manifest | tags
Context
1999-11-22
21:08:22
Initial revision check-in: 0971e8129a user: gawthrop@users.sourceforge.net tags: origin/master, trunk
00:23:18
Removed debugging check-in: b9523bb2d0 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
1999-11-19
04:00:26
Changed a comment to be more accurate. check-in: 252807ac6d user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
52
53
54
55
56
57
58

59
60
61
62
63
64
65







-







  Y = [];
  iterations = -1;
  while (abs(error_old-error)>criterion)&&(iterations<max_iterations)
    iterations = iterations + 1;
    error_old_old = error_old;
    error_old = error;
    eval(sprintf("[t,y,y_theta] = mtt_s%s(system_name,theta,free);",method)); # Simulate system
plot(t,y(:,2:3));
    error = 0; 
    J = zeros(n_th,1);
    JJ = zeros(n_th,n_th);
    for i = 1:n_y
      E = weight(:,i).*(y(:,i) - y_s(:,i)); # Weighted error
      error = error + (E'*E);	# Sum the error


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]