Skip to content
Snippets Groups Projects
Commit 1b364409 authored by Girard Antoine's avatar Girard Antoine
Browse files

Upload New File

parent 127b2eb6
No related branches found
No related tags found
No related merge requests found
%% Tutorial example on symbolic control
%% Author: Antoine GIRARD, Universit Paris-Saclay, CNRS, CentraleSuplec, Laboratoire des signaux et systmes, 91190, Gif-sur-Yvette, France.
%% Date: 2024
function I=state2coord(i,p_x)
I=zeros(length(p_x)-1,1);
for k=1:length(p_x)-1
I(k)=floor(mod(i-1,p_x(k+1))/p_x(k))+1;
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment