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
884ecb6d
Commit
884ecb6d
authored
Sep 01, 2011
by
Marco Ratto
Browse files
Fine tuning of checks of the rank condition
parent
5f3290f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/identification_checks.m
View file @
884ecb6d
...
...
@@ -49,11 +49,11 @@ ind1 = find(vnorm(JJ)>=eps); % take non-zero columns
JJ1
=
JJ
(:,
ind1
);
[
eu
,
ee2
,
ee1
]
=
svd
(
JJ1
,
0
);
condJ
=
cond
(
JJ1
);
rankJ
=
rank
(
JJ
);
rankJ
=
rank
(
JJ
.
/
norm
(
JJ
),
1.e-10
);
rankJJ
=
rankJ
;
if
hess_flag
==
0
,
rankJJ
=
rank
(
JJ
'*
JJ
);
end
%
if hess_flag==0,
%
rankJJ = rank(JJ'*JJ);
%
end
ind0
=
zeros
(
1
,
npar
);
ind0
(
ind1
)
=
1
;
...
...
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