May 4, 2012 #1 T tubosun4peace Newbie level 3 Joined Apr 29, 2012 Messages 3 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,295 Please I need a codes on how to generate pulses signal using the matlab. Threads with titles like, "Can somebody help me out please?" are meaningless and will be deleted. Title changed to reflect topic of discussion. Click to expand... Last edited by a moderator: May 4, 2012
Please I need a codes on how to generate pulses signal using the matlab. Threads with titles like, "Can somebody help me out please?" are meaningless and will be deleted. Title changed to reflect topic of discussion. Click to expand...
May 4, 2012 #2 V vena Junior Member level 2 Joined Dec 6, 2011 Messages 21 Helped 6 Reputation 12 Reaction score 6 Trophy points 1,283 Location India Activity points 1,379 Re: Can smebody help me out please? tubosun4peace said: Please I need a codes on how to generate pulses signal using the matlab. Click to expand... For commonly used sequences, try and use these- t = (0:0.001:1)'; imp= [1; zeros(99,1)]; % Impulse unit_step = ones(100,1); % Step (with 0 initial cond.) ramp_sig= t; % Ramp quad_sig=t.^2; % Quadratic sq_wave = square(4*pi*t); % Square wave with period 0.5 hope this helps!
Re: Can smebody help me out please? tubosun4peace said: Please I need a codes on how to generate pulses signal using the matlab. Click to expand... For commonly used sequences, try and use these- t = (0:0.001:1)'; imp= [1; zeros(99,1)]; % Impulse unit_step = ones(100,1); % Step (with 0 initial cond.) ramp_sig= t; % Ramp quad_sig=t.^2; % Quadratic sq_wave = square(4*pi*t); % Square wave with period 0.5 hope this helps!