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
2faca372
Commit
2faca372
authored
Jun 13, 2013
by
Ferhat Mihoubi
Committed by
Stéphane Adjemian
Jun 17, 2013
Browse files
Allows to compute the sum of two dynSeries with different starting dates
parent
eb7c28f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/@dynSeries/plus.m
View file @
2faca372
...
...
@@ -40,7 +40,7 @@ function A = plus(B,C)
%
along
with
Dynare
.
If
not
,
see
<
http
:
//www.gnu.org/licenses/>.
%
AUTHOR
(
S
)
stephane
DOT
adjemian
AT
univ
DASH
lemans
DOT
fr
[
B
,
C
]
=
align
(
B
,
C
);
if
~
isequal
(
B
.
vobs
,
C
.
vobs
)
&&
~
(
isequal
(
B
.
vobs
,
1
)
||
isequal
(
C
.
vobs
,
1
))
error
([
'
dynSeries
:
:
plus
:
Cannot
add
'
inputname
(
1
)
'
and
'
inputname
(
2
)
'
(
wrong
number
of
variables
)
!
'
])
else
...
...
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