What is modulo in simulink?

173 次查看(过去 30 天)
BigJo
BigJo 2023-1-25
回答: Arka 2023-3-6
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
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:

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by