Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

how to do divide by two concept in simulink.

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.

0 Comments

Sivakumaran Chandrasekaran

Tags

Products

2 Answers

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.

0 Comments

Vishal Rane
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

Azzi Abdelmalek

Contact us