フィルターのクリア

Simulink: rectangular pulse filter with finite rise time?

12 ビュー (過去 30 日間)
Cathy
Cathy 2011 年 6 月 16 日
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!!!

採用された回答

Paulo Silva
Paulo Silva 2011 年 6 月 17 日
I found how to generate square waves with slew rate, do this:
Signal Generator -> Rate Limiter
  2 件のコメント
Fangjun Jiang
Fangjun Jiang 2011 年 6 月 17 日
Nice!
Cathy
Cathy 2011 年 6 月 17 日
this works beautifully! thanks a lot~ \\bow

サインインしてコメントする。

その他の回答 (5 件)

Arnaud Miege
Arnaud Miege 2011 年 6 月 17 日
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 件のコメント
Arnaud Miege
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
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
Paulo Silva 2011 年 6 月 17 日
Use the Signal builder from simulink
_ _ _ _
_| |_| |_ -> _/ \_/ \_
  3 件のコメント
Paulo Silva
Paulo Silva 2011 年 6 月 17 日
The question is interesting because simulink apparently lacks the parameter for the Slew Rate.
Fangjun Jiang
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
Fangjun Jiang 2011 年 6 月 17 日
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?

Cathy
Cathy 2011 年 6 月 17 日
thank you all! is there a way to create a customized filter for this purpose? i was able to get a workaround in Matlab:
y = rcosflt(x, Fd, Fs,'filter', pulse_slewrate);
is there a similar way to do this in Simulink? thanks!!

Fangjun Jiang
Fangjun Jiang 2011 年 6 月 17 日

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by