![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1315425/image.png)
What is modulo in simulink?
92 views (last 30 days)
Show older comments
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1273900/image.png)
This is thesis. This modulo with no input
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1273905/image.png)
This is my modulo. These have inputs.
0 Comments
Answers (1)
Arka
on 6 Mar 2023
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1315425/image.png)
Please refer to the MathWorks documentation links below to know more about constant block, MATLAB Function block, and the mod function:
0 Comments
See Also
Categories
Find more on Computer Vision with Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!