Code covered by the BSD License  

Highlights from
AM_communication_blocks_codes

image thumbnail

AM_communication_blocks_codes

by

 

AM & other communication systems basic blocksets

y=threshold4(x)
%Author Rabin Banerjee
function y=threshold4(x)
y=(x>=0.5)+(x>=1.5)+(x<=-0.5)*-1+(x<=-1.5)*-1;
end

Contact us