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 Center および File ExchangeModeling についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by