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
90e5c6e7
Commit
90e5c6e7
authored
Mar 21, 2012
by
Sébastien Villemot
Browse files
Replace str2mat (deprecated in MATLAB, removed in Octave 3.6) by char
parent
a899594f
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/gsa/filt_mc_.m
View file @
90e5c6e7
...
...
@@ -408,7 +408,7 @@ else
param_names
=
''
;
for
j
=
1
:
npar
+
nshock
,
param_names
=
str2mat
(
param_names
,
bayestopt_
.
name
{
j
});
param_names
=
char
(
param_names
,
bayestopt_
.
name
{
j
});
end
param_names
=
param_names
(
2
:
end
,:);
...
...
@@ -528,9 +528,9 @@ else
end
%subplot(3,2,6)
if
exist
(
'OCTAVE_VERSION'
),
legend
(
str2mat
(
'base'
,
vvarvecm
(
np
,:)),
'location'
,
'eastoutside'
);
legend
(
char
(
'base'
,
vvarvecm
(
np
,:)),
'location'
,
'eastoutside'
);
else
h0
=
legend
(
str2mat
(
'base'
,
vvarvecm
(
np
,:)),
0
);
h0
=
legend
(
char
(
'base'
,
vvarvecm
(
np
,:)),
0
);
set
(
h0
,
'fontsize'
,
6
,
'position'
,[
0.7
0.1
0.2
0.3
],
'interpreter'
,
'none'
);
end
%h0=legend({'base',vnam{np}}',0);
...
...
@@ -599,9 +599,9 @@ else
title
([
pnam
{
nsnam
(
j
)}],
'interpreter'
,
'none'
)
end
if
exist
(
'OCTAVE_VERSION'
),
legend
(
str2mat
(
'base'
,
vvarvecm
(
np
,:)),
'location'
,
'eastoutside'
);
legend
(
char
(
'base'
,
vvarvecm
(
np
,:)),
'location'
,
'eastoutside'
);
else
h0
=
legend
(
str2mat
(
'base'
,
vvarvecm
(
np
,:)),
0
);
h0
=
legend
(
char
(
'base'
,
vvarvecm
(
np
,:)),
0
);
set
(
h0
,
'fontsize'
,
6
,
'position'
,[
0.7
0.1
0.2
0.3
],
'interpreter'
,
'none'
)
end
%h0=legend({'base',vnam{np}}',0);
...
...
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