% create an output structure similar to the input0 
  OutputPort1 = InputPort1; 
 
if(InputPort1.TypeSignal == 'Electrical')
    abc = round(rand(1,1000));
     
   cs = length(InputPort1.Sampled); 
    
   if( cs > 0 ) 
            % Calculate the signal attenuated 
       OutputPort1.Sampled.Signal =  InputPort1.Sampled.Signal * abc; 
   end 
    
end