Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dóra Kocsis
dynare
Commits
19a5ccb6
Commit
19a5ccb6
authored
Oct 13, 2011
by
Michel Juillard
Browse files
permits analysis of incomplete Metropolis run
parent
e92c54ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/metropolis_run_analysis.m
View file @
19a5ccb6
...
@@ -38,10 +38,13 @@ logPost = [];
...
@@ -38,10 +38,13 @@ logPost = [];
params
=
[];
params
=
[];
blck
=
1
;
blck
=
1
;
for
i
=
1
:
record
.
LastFileNumber
for
i
=
1
:
record
.
LastFileNumber
o
=
load
([
M
.
fname
'/metropolis/'
M
.
fname
'_mh'
int2str
(
i
)
'_blck'
...
fname
=
[
M
.
fname
'/metropolis/'
M
.
fname
'_mh'
int2str
(
i
)
'_blck'
...
int2str
(
blck
)]);
int2str
(
blck
)
'.mat'
];
logPost
=
[
logPost
;
o
.
logpo2
];
if
exist
(
fname
,
'file'
)
params
=
[
params
;
o
.
x2
];
o
=
load
(
fname
);
logPost
=
[
logPost
;
o
.
logpo2
];
params
=
[
params
;
o
.
x2
];
end
end
end
figure
;
figure
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment