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!

 채택된 답변

Teja Muppirala
Teja Muppirala 2011년 5월 30일

1 개 추천

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

ingegnerisinasce Rossi
ingegnerisinasce Rossi 2011년 5월 30일
GENIUS! THANKS A LOT!
ingegnerisinasce Rossi
ingegnerisinasce Rossi 2011년 5월 31일
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

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

bym
bym 2011년 5월 29일

0 개 추천

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