Skip to content

Commit

Permalink
matlab compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
acxz committed Nov 13, 2019
1 parent b7bc053 commit 72bf0dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/cart_pole/cartpole_state_est.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

function retval = cartpole_state_est(true_x)

xdim = size(true_x)(1);
xdim = size(true_x, 1);
H = eye(xdim);
retval = H * true_x;

Expand Down

0 comments on commit 72bf0dd

Please sign in to comment.