how do i create a sound signal whose frequency increase after every second in simulink
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Awais Ahmad Siddiqi
el 8 de Nov. de 2020
Respondida: Aghamarsh Varanasi
el 11 de Nov. de 2020
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 comentarios
Respuestas (1)
Aghamarsh Varanasi
el 11 de Nov. de 2020
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 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!