Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. Nbcomp=floor(long/(2*dpas)+0.5);
  2. xn=input("Voulez-vous modifier les éléments de compensations si oui tapé 1 sinon 0")
  3. if xn==1 then
  4. for ca=0:Nbcomp
  5. pas_pr1=(long-2*dpas)/(Nbcomp-1)
  6.  
  7. m = ones(Nbcomp,2)
  8. m1= m.*pas_pr1
  9. // m1=m*m2
  10.  
  11. end
  12. elseif xn==0 then pas_pr=(long-2*dpas)/(Nbcomp-1);
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement