ramytamer

Untitled

Jun 1st, 2014
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.31 KB | None | 0 0
  1. function [ x ] = impfu( values,start,step,endpoint,signalType )
  2. %impu Summary of this function goes here
  3. %   Detailed explanation goes here
  4.  
  5. t = start:step:endpoint;
  6. x = values;
  7.  
  8. start
  9. if signalType == 1
  10.     x(t==start) = 1;
  11. else
  12.     x(t==start) = 10;
  13. %     x(t==start) = 2136598;
  14. %     x(t==start) = inf;
  15. end
  16.  
  17.  
  18. end
Advertisement
Add Comment
Please, Sign In to add comment