- Manually position the cursors in the scope at the maximum points of the output waveforms. The result can be found in the "Cursor Measurements" section of the "Scope" window.
- Alternatively, the Timing Measurement block (available at Mixed-Signal Blockset/Utilities) can be used to measure different parameters like "period", "frequency", "duty cycle", "rise time", "fall time", and "delay" which can help in the calculation of the desired result.
Frequency Characteristic and Amplitude with Simulink
20 次查看(过去 30 天)
显示 更早的评论
Hello, I have to find amplitude value and time shift between maximum value in one period in input and output signal.And chnage frequencies each time. I wrote one of them but I'm not sure. Could you help me if I'm going right?
0 个评论
回答(1 个)
Sayan
2023-9-8
I understand from the query that it is required to find the amplitude and the phase shift between maximum values between the reference sinusoidal signal and the different computed waveforms at different frequencies, as depicted in the attached Simulink file. One observation is that when using the Derivative block, the variable "c" should be zero if no linearization is required. You can follow the below-mentioned workarounds to achieve the desired result.
Further information on the Timing Measurement block can be obtained the below mentioned MATLAB documentation.
Hope this answers the query.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!