Problem with signal processing on sinewave using Simulink

조회 수: 2 (최근 30일)
Brince Babu
Brince Babu 2023년 6월 28일
댓글: Brince Babu 2023년 6월 29일
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
Brince Babu
Brince Babu 2023년 6월 28일
Please suggest a method which include these, such that sampling of a continous sinewave at input stage ,which gives 32 samples per cycle ,give to my function,produce the output

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

답변 (1개)

Pramil
Pramil 2023년 6월 28일
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.

카테고리

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

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by