What is modulo in simulink?
显示 更早的评论
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.
回答(1 个)
Arka
2023-3-6
0 个投票
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:
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink Environment Customization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!