Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static double Mod, Trojkat, wyjscie;
- Mod=Input(0); //sygnał modulatora
- Trojkat=Input(1); //sygnał Carrier
- wyjscie=-1.0;
- if (Trojkat>Mod){
- wyjscie=1.0;}
- else if (Trojkat<Mod){
- wyjscie=-1.0;}
- Output(0)=wyjscie;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement