What are these blocks/components on simulink?

6 views (last 30 days)
Ara Liz
Ara Liz on 20 Jun 2021
Commented: Paul on 4 Feb 2025
I am not that familiar yet with simulink. What are these blocks/components? How do I input x(n), b and y(n)? are there separate components from the library for these?
By the way, we were asked to "perform the given operations on the block on the signal" I am given the value of signal x(n) = [ 1 2 3 6 -4 7 -4 9] and also the values of b1, b2, b3.

Answers (1)

Arjun
Arjun on 3 Feb 2025
In the above attached image three type Simulink blocks are used which are as follows:
1. Unit Delay Block: The Unit Delay block holds and delays its input by one sample period.
Here is the documentation link for the "Unit Delay" block: https://www.mathworks.com/help/releases/R2021a/simulink/slref/unitdelay.html
2. Gain Block: The Gain block multiplies the input by a constant value (gain).
Here is the documenation link for the "Gain" block:
3. Sum Block: The Sum block performs addition or subtraction on its inputs.
Here is the documentation link for the "Sum" block:
To input x(n) use a "Constant" block and assign the array [ 1 2 3 6 -4 7 -4 9] as the constant value parameter of the block. Declare 'b1', 'b2', 'b3' in the Base Workspace, then construct the above architecture by using the above mentioned blocks and set parameter values of the blocks(primarily "Gain" blocks to b1, b2, b3) accordingly. To finally visualize the output y(n) you can use the "Scope" block.
The documentation links for "Constant" and "Scope" blocks are as follows:
I hope this will help!
  2 Comments
Walter Roberson
Walter Roberson on 3 Feb 2025
Good call on those being Unit Delay blocks; I would not have been able to recognize them from the low-quality image !
Paul
Paul on 4 Feb 2025
Unfortunately, the Constant block cannot output a time-dependent sequence.

Sign in to comment.

Categories

Find more on Interactive Model Editing in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!