MATLAB Answers

Variable Integer delay block

4 ビュー (過去 30 日間)
Maria
Maria 2017 年 11 月 29 日
コメント済み: Birdman 2017 年 11 月 29 日
Hi, I am not so familiar with Simulink so I hope someone can help. I have a signal that is an impulse, and I want to delay it; in particular, I want that the delayed version appears after 5ns. So far so good. I am looking into the block called "variable Integer Delay". What I did is to input as the delay "d" my 5 ns. But nothing happens. If I put, for example, "10" as "d", I do see a delayed version of the signal, but I am not sure how "10" is related to what I see.. Can someone explain me how does this block work? Hope I explained myself. Best
  8 件のコメント
Maria
Maria 2017 年 11 月 29 日
dt= 1e-12 (sorry forgot to mention it)

サインインしてコメントする。

採用された回答

Birdman
Birdman 2017 年 11 月 29 日
Working with variable step solver for this situation is not recommended because there are some parameters which are set as auto and since you are working with too little time steps, it will not give you the desired result. I changed the solver to fixed-step and set the step size as dt. Also, I defined a fixed length of delay which is 5000, so when it is multiplied by 1e-12(dt), the length of delay will be 5e-9. When I run the simulation, I saw the desired result.
  2 件のコメント
Birdman
Birdman 2017 年 11 月 29 日
More reliable option, let's say. Because you force solver to take that specific step.

サインインしてコメントする。

その他の回答 (0 件)

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by