Guest User

Untitled

a guest
Jul 18th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.15 KB | None | 0 0
  1. inicializa_placa(5);
  2. yref = 2.5
  3. nit = 50;
  4. for k = 1:nit
  5.     y(k) = recebe_dado(1);
  6.     u(k) = yref - y(k);
  7.     envia_dado(1,u(k));
  8. end
  9. finaliza_placa;
Add Comment
Please, Sign In to add comment