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
51c4eb6c
Commit
51c4eb6c
authored
Jun 24, 2013
by
Stéphane Adjemian
Browse files
Fixed bug.
parent
fa4ad711
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/@dynSeries/subsref.m
View file @
51c4eb6c
...
@@ -122,7 +122,7 @@ switch S(1).type
...
@@ -122,7 +122,7 @@ switch S(1).type
B
.
nobs
=
length
(
tdx
);
B
.
nobs
=
length
(
tdx
);
B
.
vobs
=
A
.
vobs
;
B
.
vobs
=
A
.
vobs
;
B
.
freq
=
A
.
freq
;
B
.
freq
=
A
.
freq
;
B
.
init
=
A
.
init
+
tdx
(
1
);
B
.
init
=
A
.
init
+
(
tdx
(
1
)
-
1
)
;
B
.
time
=
A
.
time
(
tdx
,
:
);
B
.
time
=
A
.
time
(
tdx
,
:
);
elseif
isvector
(
S
(
1
).
subs
{
1
})
&&
all
(
isint
(
S
(
1
).
subs
{
1
}))
elseif
isvector
(
S
(
1
).
subs
{
1
})
&&
all
(
isint
(
S
(
1
).
subs
{
1
}))
%
Extract
a
subsample
using
a
vector
of
integers
(
observation
index
).
%
Extract
a
subsample
using
a
vector
of
integers
(
observation
index
).
...
...
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