
What is modulo in simulink?
조회 수: 55 (최근 30일)
이전 댓글 표시
I am a matlab beginner. Recently, I had to use simulink because of my thesis study, but I can't find it, so I'm leaving a question.
No modulo found for this illustration. I need a modulo without input like in the paper, where is it?
I know that modulor is mod.

This is thesis. This modulo with no input

This is my modulo. These have inputs.
댓글 수: 0
답변 (1개)
Arka
2023년 3월 6일
Hi,
From what I understand, the modulo N used in the figure is just a depiction of the operation required.
You can use a constant block having the value of N instead of the Modulo-N block, and then use a MATLAB Function block to perform the Modulo N operations as desired.
Attached below is a screenshot of the same:

Please refer to the MathWorks documentation links below to know more about constant block, MATLAB Function block, and the mod function:
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!