Skip to content
Snippets Groups Projects
Commit 339d8822 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

qz() has changed between Octave 3.2 and 3.4

parent 9bcb1883
Branches
Tags
No related merge requests found
......@@ -38,8 +38,12 @@ end
if exist('OCTAVE_VERSION')
[aa,bb,qq,zz]=qz(full(a),full(b));
for j=1:p,
if octave_ver_less_than('3.4.0')
d(:,:,j)=qq'*d(:,:,j)*u;
else
d(:,:,j)=qq*d(:,:,j)*u;
end
end
else
[aa,bb,qq,zz]=qz(full(a),full(b),'real'); % available in Matlab version 6.0
for j=1:p,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment