Advertisement
Ostu

Untitled

Nov 14th, 2021
1,414
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.25 KB | None | 0 0
  1. %% Gora
  2. Ug=[0.41 0.52 0.55 0.47 0.5 0.4 0.37 0.33 0.34 0.21 0.2 0.15 0.08 0.1 0.17 0.1 0.08 0.06 0.05 0.06]
  3. figure(2)
  4. plot(mm,Ug)
  5. xlabel 'Przesunięcie X [mm]'
  6. ylabel 'Napięcie U [V]'
  7. pg=polyfit(mm,Ug,6)
  8. Yug=polyval(pg,mm)
  9. hold on
  10. plot(mm,Yug)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement