- First Order Differential Equation
- Solving Mathematical Equation
- MATLAB Simulink - Script
- MATLAB Simulink - Export Data
- MATLAB Simulink - For Loop
- MATLAB Simulink - Create Subsystem
- MATLAB Simulink - Function
- MATLAB Simulink - Sinewave
- MATLAB Simulink - Logic Gates Model
- Build Model & Apply If-else Logic
- MATLAB Simulink - Mathematical Library
- MATLAB Simulink - Adding Delay To Signals
- MATLAB Simulink - Signals Processing
- MATLAB Simulink - Build & Simulate Model
- MATLAB Simulink - Lines
- MATLAB Simulink - Blocks
- MATLAB Simulink - Starting Simulink
- MATLAB Simulink - Environment Setup
- MATLAB Simulink - Introduction
- MATLAB Simulink - Home
MATLAB Simulink Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
MATLAB Simupnk - Adding Delay To Signals
We have learnt in the previous chapter about the different signal simulations. In this chapter, we will learn how to add delay to the signals.
Let us take a blank model and add sine wave and scope block to it as shown below −

Let us now run the model to see the simulation in scope block. The sine wave is as shown below −

Let us now add delay for the sine wave. We will make use of transport delay block from continuous pbrary as shown below −

Select the block and drag it in your model canvas. Now that we have the Transport delay in our model, right cpck on it and open block parameters as shown below −

Let us change the time delay from 1 to 3. Make the changes and cpck on OK button.
Now add one more input port to scope block. Right cpck on scope block and select the signals and ports. Select 2 for number of input ports as shown below −

Now connect the transport delay to sine wave and to scope as shown below

Now run the simulation to see a delay of 3 seconds to the sign wave. Right cpck scope block and select block parameters to see the display.
