How to draw a block diagram for one equation with three variables in simulink

I am totally lost on this one. Say I have the equation y = 2*z - 5*x, how would I draw the block diagram to perform this calculation?

Answers (1)

_______ ___
z-----| 2 |___| + |
|_____| |___|---- y
_______ |
x-----| -5 |---|
|______|

1 Comment

With John diagram you can use multiplier block as well as gain block also.

Sign in to comment.

Categories

Find more on Modeling in Help Center and File Exchange

Products

Asked:

on 17 Dec 2012

Community Treasure Hunt

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

Start Hunting!