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

New to MATLAB?

how to do divide by two concept in simulink.

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

Tags

Products

2 Answers

Answer by Vishal Rane

Vishal Rane (view profile)

on 12 Dec 2012
Edited by Vishal Rane

Vishal Rane (view profile)

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

Vishal Rane (view profile)

Answer by Azzi Abdelmalek

Azzi Abdelmalek (view profile)

on 12 Dec 2012
Edited by Azzi Abdelmalek

Azzi Abdelmalek (view profile)

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

Azzi Abdelmalek (view profile)

Contact us