필터 지우기
필터 지우기

is it possible to give different frequencies input for different time span in simulink ?

조회 수: 2 (최근 30일)
Hello,
is it possible to give different frequencies for different timespan in simulink ?
for example my input is F(t) = cos(w*t)
i am simulating for t = 30 secs
for first time span t1 = 0:10 secs my input signal frequency is cos (10*t1)
for first time span t2 = 10:20 secs my input signal frequency is cos (20*t2)
for first time span t3 = 20:30 secs my input signal frequency is cos (30*t3)
how should i do this is Simulink ?

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 2월 12일
편집: Azzi Abdelmalek 2013년 2월 13일
You can use a multiport switch block with three sine wave block
set stop time to 29.99
  댓글 수: 7
Aniket
Aniket 2013년 2월 13일
If i want to use same figure but i want to change my input signal after 5 secs
means for t1 = 0 :5 .... 1 signal
t2 = 5 : 10 .....2 signal
t3 = 10 : 15 ..... 3 signal
and if i want to use more or less data ports ..which parameters changes for control input signal which is fed to multiport switch..
actually i am giving this input to adaptive hopf oscillator using simulink i have implemented equations in simulink ...
Azzi Abdelmalek
Azzi Abdelmalek 2013년 2월 13일
편집: Azzi Abdelmalek 2013년 2월 13일
gain=0.2
stoptime=14.99
Try to figure it out
  1. When control port input is between 1 and 1.9999 port 1 passes
  2. When control port input is between 2 and 2.9999 port 2 passes
  3. and so on

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Signal Generation에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by