Matlabs square(x) equivalent in Simulink? NOT x^2. square WAVE
조회 수: 204 (최근 30일)
이전 댓글 표시
As in title, is there a block which performs this operation in a simple way?
댓글 수: 0
답변 (2개)
Rodney Tan
2016년 10월 19일
There is a Math Function block in Simulink -> Math Operation, where you can configure it to perform various math operation including the square function. I have screen capture it for your reference below.
Hope this answer your question.
Rodney Tan
2016년 10월 24일
There is a Pulse Generator block in Simulink -> Source, where you can configure its magnitude, period and duty cycle to generates square wave as square(x) wave function. I have screen capture it for your reference below.
Hope this time I answer your question.
참고 항목
카테고리
Help Center 및 File Exchange에서 Sources에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!