![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/189393/image.jpeg)
Simple Explaination of the Rate Limiter Block
10 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/191385/image.jpeg)
I am experimenting with the Rate Limiter block attempting to create a signal resembling a Trapezoid from a Square wave. I am having some trouble with the slew rates, are these slew rates in vertical units (Volts, Amps, ect...) per second? My square wave has an amplitude of 5 V and a pulse width of 200 nano seconds. However setting rising and falling slew rates does not perform as expected. Any tips for controlling the slew rates are appreciated
0 个评论
采纳的回答
Fangjun Jiang
2018-6-21
Specifing the slew rate as e.g. 5/(25*10e-9) and -5/(25*10e-9) should give you a Trapezoid form. Specify the fixed simulation step size as 10e-9, run simulation from 0 to 2e-6
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/189393/image.jpeg)
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 General Applications 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!