Triangle Pulse Generator
I needed to trigger a triangle pulse using a signal within my Simulink model (in my case it was a position vector). All I could find within the Sim Library was pulses set to activate at a certain time (by using a delay or building a signal from scratch). So I baked one myself.
The biggest problem was the inability to "reset" the clock (I wanted to use it as a timer to set the width of my pulse). As a substitution for the clock timer, I use switch blocks to switch between zero and integration of a constant (calculated based on pulse duration and amplitude) in order to generate the triangle pulse.
인용 양식
Jared Goodner (2024). Triangle Pulse Generator (https://www.mathworks.com/matlabcentral/fileexchange/40179-triangle-pulse-generator), MATLAB Central File Exchange. 검색됨 .
MATLAB 릴리스 호환 정보
플랫폼 호환성
Windows macOS Linux카테고리
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0.0.0 |