Simulink: rectangular pulse filter with finite rise time?
이전 댓글 표시
Is there a way to create a rectangular pulse with finite rise time in Simulink? I found the "Ideal Rectangular Pulse Filter" in the Communications Blockset. But that one gives inifite rise time, basically the same as if doing a pure rate transition.
Many thanks!!!
채택된 답변
추가 답변 (5개)
Arnaud Miege
2011년 6월 17일
1 개 추천
Or filter the ideal pulse generated from say the Pulse Generator block with a first order low-pass filter using the Transfer Fcn or Discrete Transfer Fcn block.
Arnaud
댓글 수: 3
Paulo Silva
2011년 6월 17일
+1 vote but I wonder why simulink doesn't have a block for that purpose or just add another parameter to the square wave generation.
Arnaud Miege
2011년 6월 17일
Good point. Maybe worth raising an enhancement request?
http://www.mathworks.com/support/service_requests/contact_support.do
Paulo Silva
2011년 6월 17일
I submited this request: There's no easy way to generate square waves with specific rise time (Slew rate), the signal generators should have another parameter for the rise time (and also fall time) because that would be similar to real world square waves.
Paulo Silva
2011년 6월 17일
Use the Signal builder from simulink
_ _ _ _
_| |_| |_ -> _/ \_/ \_
댓글 수: 3
Fangjun Jiang
2011년 6월 17일
Paulo, I don't she is asking about the pulse generator.
Paulo Silva
2011년 6월 17일
The question is interesting because simulink apparently lacks the parameter for the Slew Rate.
Fangjun Jiang
2011년 6월 17일
If it is just the need to generate a pulse with slew rate, I guess the "Repeating Sequence" block can do the job.
Fangjun Jiang
2011년 6월 17일
0 개 추천
I thought Cathy was asking for a filter, not a source block to generate square pulse or pulse with slew rate. Check out this Ideal Rectangular Pulse Filter. It talks about upsampling which I have no knowledge. Is there a similar filter that represents non-square pulse sampling that has different filtering effect?
Fangjun Jiang
2011년 6월 17일
0 개 추천
카테고리
도움말 센터 및 File Exchange에서 Pulse and Transition Metrics에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!