how do i create a sound signal whose frequency increase after every second in simulink
조회 수: 4 (최근 30일)
이전 댓글 표시
this gives me a sound signal of a constant frequency of generated sine wave. now i want this frequcny to increase by 200hz every second.
e.g
1st sec: 100Hz
2nd sec: 300Hz
3rd sec: 500Hz
and so on...
how do i increase in frequcny after a specific period?
댓글 수: 0
답변 (1개)
Aghamarsh Varanasi
2020년 11월 11일
Hi,
1. You can use a ‘chirp’ block to generate a sine wave with increasing frequency with time. You can tune the block parameters of the chirp block accordingly to achieve the desired output.
2. If you need to increment the frequency of the sine wave after a time interval, you can model the sine wave as a function of Amplitude, frequency and time.
y = amplitude * sin( frequency * time + phase) + bias;
- For Example, Sine wave can be modeled in the following way as a function of amplitude, frequency and time, as mentioned in “What can I do if I really need to change the parameter of a block every time step?” section of this blog post.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!