Advertisement
Guest User

Untitled

a guest
Nov 28th, 2015
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. static double Mod, Trojkat, wyjscie;
  2.  
  3.  
  4.  
  5. Mod=Input(0); //sygnał modulatora
  6. Trojkat=Input(1); //sygnał Carrier
  7.  
  8. wyjscie=-1.0;
  9.  
  10. if (Trojkat>Mod){
  11. wyjscie=1.0;}
  12.  
  13.  
  14. else if (Trojkat<Mod){
  15. wyjscie=-1.0;}
  16.  
  17.  
  18.  
  19. Output(0)=wyjscie;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement