Commit 3ecc44b5 authored by Willi Mutschler's avatar Willi Mutschler Committed by Sébastien Villemot
Browse files

Fix minimal state space test files for old matlab

parent 01d5d734
......@@ -253,7 +253,9 @@ function [abar,bbar,cbar,t,k] = ControllabilityStaircaseRosenbrock(a, b, c, tol)
for jj = 1 : ra
[uj,sj,vj] = svd(bjn1);
[rsj,csj] = size(sj);
p = flip(eye(rsj),2);
%p = flip(eye(rsj),2);
p = eye(rsj);
p = p(:,end:-1:1);
p = permute(p,[2 1 3:ndims(eye(rsj))]);
uj = uj*p;
bb = uj'*bjn1;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment