Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to Generate Pulse Signals in Matlab

Status
Not open for further replies.

tubosun4peace

Newbie level 3
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.
 
Last edited by a moderator:

Re: Can smebody help me out please?

Please I need a codes on how to generate pulses signal using the matlab.


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!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top