MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Asked by Sivakumaran Chandrasekaran
on 12 Dec 2012

I have to do 5/2. I found the block divide. I would like to know how to mention the division factor 2 in simulink. I use the version 2008b.

Answer by Vishal Rane
on 12 Dec 2012

Edited by Vishal Rane
on 12 Dec 2012

The first input to the Divide block is the Dividend (Numerator)(5) and second input is the Divisor (Denominator)(2).

Use Constant blocks to provide these inputs.

Answer by Azzi Abdelmalek
on 12 Dec 2012

Edited by Azzi Abdelmalek
on 12 Dec 2012

Pass your signal through a **gain** block with gain value equal to 1/2. Use a divide block when you have to dive varying signal.

## 0 Comments