Triangle Pulse Generator

버전 1.0.0.0 (10.9 KB) 작성자: Jared Goodner
Trigger a triangle pulse at any point in your simulation (not clock dependent)
다운로드 수: 803
업데이트 날짜: 2013/2/5

라이선스 보기

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 릴리스 호환 정보
개발 환경: R2010a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Switches and Breakers에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0