Problem with signal processing on sinewave using Simulink
Mostra commenti meno recenti
I have a function which takes 32 samples of a sinewave at a time and returns a single value as an output.Functions works fine by giving 32 samples at time.I need to implement a system on simulink such that there is sinewave in the input side and 32 samples per cycle of the sinewave has to be passed at a time to my function and gets the output.How to do this ,I'm not able to configure the buffer correctly as per my needs
1 Commento
Brince Babu
il 28 Giu 2023
Risposte (1)
Pramil
il 28 Giu 2023
0 voti
You can set the sample time in sine wave block to (2*pi)/32 to get 32 samples of sine waves per cycle as input to your function block.
1 Commento
Brince Babu
il 29 Giu 2023
Categorie
Scopri di più su Signal Attributes and Indexing in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!