Advertisement
Ostu

Untitled

May 26th, 2021
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.43 KB | None | 0 0
  1. %% Pierwszy układ
  2. x1=-10:0.01:10;
  3. x2=-10:0.01:10;
  4. [X1,X2]=meshgrid(x1,x2);
  5. figure(1)
  6. mesh((0.5*X2.^2)+(X1.^2))
  7. title('Funkcja Lapunova dla wózka - pierwszy warunek')
  8. figure(2)
  9. mesh(X1,X2,(0.5*X2.^2)+(X1.^2)>0)
  10. title('Funkcja Lapunova dla wózka - drugi warunek')
  11. figure(3)
  12. mesh((-X2.^2))
  13. title('Funkcja Lapunova dla wózka - trzeci warunek')
  14. figure(4)
  15. mesh((-X2.^2)<0)
  16. title('Funkcja Lapunova dla wózka - czwarty warunek')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement