Fonction Scilab
eng - fr


return_state - retourne l'état discret d'un bloc scicos

Librairie

Séquence d'appel

res = return_state(Info,n)

Paramètres

Description

Add here a paragraph of the function description. Other paragraph can be added

Add here a paragraph of the function description

Exemple

Add here scilab instructions and comments

Contenu du fichier


function res=return_state(Info,n)
 %cpr=Info(2);
 res=list();
 for i=1:size(n,1)
  if n(i)<>0 then
      res(i)=%cpr.state("z")(%cpr.sim("zptr")(n(i)):%cpr.sim("zptr")(n(i)+1)-1);
  else
     res(i)=[];
  end
 end
endfunction

Fonction(s) utilisée(s)

Add here the used function name and references

Auteurs

enter here the author name Add here the author references