Hi. I am adjusting delay backward by using " variable time delay" block in simulink but its only forward the delay not backward. how can I adjust the delay in negative direction ? Please have a look into attached file and the waveform. I want to adjust the delay which is in 3rd plot.
Thanks

2 件のコメント

Prakhar Jain
Prakhar Jain 2018 年 11 月 15 日
Hi Sarfaraz,
Can you change -0.002 constant block value to 0.002. Still if you doesn't get the required output, please share your simulink model.
Thanks.
Sarfaraz Ahmed
Sarfaraz Ahmed 2018 年 11 月 15 日
Thanks Jain. yes, I checked with 0.002 and I see it only produce delay in one direction. I want delay in the advance ? is it possible to delayed a signal by advance ?
Thanks

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

 採用された回答

Dimitris Kalogiros
Dimitris Kalogiros 2018 年 11 月 15 日
編集済み: Dimitris Kalogiros 2018 年 11 月 15 日

0 投票

If you want to insert "negative" delay (-0.002) at one signal x(t) , into your simulink model you can do the following:
Add 0.002 delay to all other relevant signals and leave signal x(t) without any delay.
For example, at the following block diagram, signal sig2 has a "negative delay" of 1 sample regarding signals sig1 and sig3 .
example.jpg

3 件のコメント

Sarfaraz Ahmed
Sarfaraz Ahmed 2018 年 11 月 15 日
Thanks. I can't give other signal delay as timing of those signal will change. therefore, I need to make advance this signal compare to main signal.
Dimitris Kalogiros
Dimitris Kalogiros 2018 年 11 月 15 日
編集済み: Dimitris Kalogiros 2018 年 11 月 15 日
Is it possible to "make advance" of a signal ?
Such a thing would violate the causality principle.
A simulink block which is able to produce at its output what would be present at its input 0.002sec later, is not a simulink block .... It is a "Harry Potter block"
:-)
Sarfaraz Ahmed
Sarfaraz Ahmed 2018 年 11 月 15 日
編集済み: Sarfaraz Ahmed 2018 年 11 月 15 日
hahahhaha..... I undersatnd. I think I have to make then some tricks with signal as you described. I am accepting your answer. Thank you!

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Simulink についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by