Bode diagram of a rectangular pulse

Hi, how can I plot a Bode diagram of a rectangular pulse (rectangular pulse defined in time domain)? Thanks a lot!

 Réponse acceptée

Teja Muppirala
Teja Muppirala le 30 Mai 2011
A rectangular pulse is a step function minus a delayed step function:
T = 1;
s = tf('s');
bode(ss(1/s) - ss(1/s*exp(-T*s)))

2 commentaires

ingegnerisinasce Rossi
ingegnerisinasce Rossi le 30 Mai 2011
GENIUS! THANKS A LOT!
ingegnerisinasce Rossi
ingegnerisinasce Rossi le 31 Mai 2011
ok now I have another problem: if I have the output Y(s) of a linear system, how can I calculate the inverse laplace trasform if Y(s) isn't in symbolic form?
thanks

Connectez-vous pour commenter.

Plus de réponses (1)

bym
bym le 29 Mai 2011

0 votes

I think you are going to have to provide more information. in the mean time, try:
bode % with no arguments

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by